[PATCH] dbghelp: free srcpath in stabs handling (Coverity)

Marcus Meissner marcus at jet.franken.de
Sat Jun 22 10:17:56 CDT 2013


 713406 Resource leak
---
 dlls/dbghelp/stabs.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c
index 90a73c9..1d0d858 100644
--- a/dlls/dbghelp/stabs.c
+++ b/dlls/dbghelp/stabs.c
@@ -1677,6 +1677,7 @@ done:
     stabs_free_includes();
     HeapFree(GetProcessHeap(), 0, pending_block.objs);
     HeapFree(GetProcessHeap(), 0, pending_func.objs);
+    HeapFree(GetProcessHeap(), 0, srcpath);
 
     return ret;
 }
-- 
1.7.10.4




More information about the wine-patches mailing list