Fixed memory freeing.

This commit is contained in:
Eric Pouech 1999-04-18 13:31:34 +00:00 committed by Alexandre Julliard
parent 57e231bdaa
commit 85aac70064
1 changed files with 1 additions and 1 deletions

View File

@ -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);