Commit d3d43ffd authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msvcrt: Free the temporary filename (Coverity).

parent 960d5342
......@@ -4989,6 +4989,7 @@ MSVCRT_FILE* CDECL MSVCRT_tmpfile(void)
if(fd != -1 && !file)
MSVCRT__close(fd);
MSVCRT_free(filename);
UNLOCK_FILES();
return file;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment