mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 05:01:03 +00:00
[CDMAKE]
dir_hash_add_file: don't leak targetdir (14000 bytes saved per run) svn path=/trunk/; revision=61647
This commit is contained in:
parent
b1d778dfbb
commit
eaf7dd435c
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ void dir_hash_add_file(struct target_dir_hash *dh, const char *source, const cha
|
|||
normalize_dirname(targetnorm);
|
||||
de = dir_hash_create_dir(dh, targetdir, targetnorm);
|
||||
free(targetnorm);
|
||||
free(targetdir);
|
||||
tf = calloc(1, sizeof(*tf));
|
||||
tf->next = de->head;
|
||||
de->head = tf;
|
||||
|
|
Loading…
Reference in a new issue