Skip to content
Snippets Groups Projects
Commit 85aac700 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard
Browse files

Fixed memory freeing.

parent 57e231bd
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ BOOL MODULE_InitLoadOrder(void)
*/
char *tmp = HEAP_strdupA(SystemHeap, 0, buffer);
sprintf(buffer, "%s:%s", ld_lib_path, tmp);
free(tmp);
HeapFree( SystemHeap, 0, tmp );
}
TRACE(module, "Setting new LD_LIBRARY_PATH=%s\n", buffer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment