incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhan...@apache.org
Subject svn commit: r1348543 - /incubator/ooo/trunk/main/sal/osl/w32/file_dirvol.cxx
Date Sun, 10 Jun 2012 07:36:43 GMT
Author: zhangjf
Date: Sun Jun 10 07:36:43 2012
New Revision: 1348543

URL: http://svn.apache.org/viewvc?rev=1348543&view=rev
Log:
#119939, memory leak in api OpenDirectory() of sal module

Patch by, zhangjf

Modified:
    incubator/ooo/trunk/main/sal/osl/w32/file_dirvol.cxx

Modified: incubator/ooo/trunk/main/sal/osl/w32/file_dirvol.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sal/osl/w32/file_dirvol.cxx?rev=1348543&r1=1348542&r2=1348543&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sal/osl/w32/file_dirvol.cxx (original)
+++ incubator/ooo/trunk/main/sal/osl/w32/file_dirvol.cxx Sun Jun 10 07:36:43 2012
@@ -431,6 +431,8 @@ static HANDLE WINAPI OpenDirectory( rtl_
                     pDirectory = NULL;
                 }
             }
+
+            rtl_freeMemory(szFileMask);  // #119939#, memory leak
         }
 	}
 



Mime
View raw message