mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
[CABMAN]
- Don't crash when a directory is specified instead of a file list (i.e. specified_files.root.normalized_name == NULL) svn path=/trunk/; revision=63860
This commit is contained in:
parent
a4d36a3511
commit
0d5a8d0594
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ dir_hash_destroy_dir(struct target_dir_hash *dh, struct target_dir_entry *de)
|
|||
free(tf->target_name);
|
||||
free(tf);
|
||||
}
|
||||
delete_entry_by_normname(dh, de->normalized_name);
|
||||
if (de->normalized_name)
|
||||
delete_entry_by_normname(dh, de->normalized_name);
|
||||
free(de->normalized_name);
|
||||
free(de->case_name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue