Mike McCormack : msi: Fix a memory leak.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 2 05:46:48 CST 2006


Module: wine
Branch: master
Commit: f5dddd557f98c9b025fd232408fbd37159ae9214
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f5dddd557f98c9b025fd232408fbd37159ae9214

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu Nov  2 18:12:12 2006 +0900

msi: Fix a memory leak.

---

 dlls/msi/source.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/source.c b/dlls/msi/source.c
index f10c32f..3b3e47f 100644
--- a/dlls/msi/source.c
+++ b/dlls/msi/source.c
@@ -514,6 +514,7 @@ UINT WINAPI MsiSourceListAddSourceExW( L
         /* found the source */
         if (dwIndex > 0 && current_index != dwIndex)
             FIXME("Need to reorder the sources!\n");
+        msi_free( source_struct.path );
     }
     else
     {




More information about the wine-cvs mailing list