Marcus Meissner : msvcrt: Free the temporary filename (Coverity).
Alexandre Julliard
julliard at winehq.org
Tue Jun 20 15:34:55 CDT 2017
Module: wine
Branch: master
Commit: d3d43ffdedcf765ecbd0ec160f384156069849bc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d3d43ffdedcf765ecbd0ec160f384156069849bc
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Tue Jun 20 09:08:39 2017 +0200
msvcrt: Free the temporary filename (Coverity).
Signed-off-by: Marcus Meissner <marcus at jet.franken.de>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcrt/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 7c8a0b5..62b06eb 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -4989,6 +4989,7 @@ MSVCRT_FILE* CDECL MSVCRT_tmpfile(void)
if(fd != -1 && !file)
MSVCRT__close(fd);
+ MSVCRT_free(filename);
UNLOCK_FILES();
return file;
}
More information about the wine-cvs
mailing list