Marcus Meissner : dbghelp: Free srcpath in stabs handling (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Jun 24 16:23:47 CDT 2013


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sat Jun 22 17:17:56 2013 +0200

dbghelp: Free srcpath in stabs handling (Coverity).

---

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

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;
 }




More information about the wine-cvs mailing list