mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 15:38:29 +00:00
Fixed memory freeing.
This commit is contained in:
parent
57e231bdaa
commit
85aac70064
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user