mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 16:05:37 +00:00
[CDMAKE]
- Correctly free DIR_RECORD::joliet_name svn path=/trunk/; revision=61651
This commit is contained in:
parent
356a1e3a52
commit
bc0a6e79fb
|
@ -211,10 +211,12 @@ static void release_memory(void)
|
|||
struct directory_record *next =
|
||||
root.next_in_memory->next_in_memory;
|
||||
if (joliet)
|
||||
free (root.joliet_name);
|
||||
free (root.next_in_memory->joliet_name);
|
||||
free (root.next_in_memory);
|
||||
root.next_in_memory = next;
|
||||
}
|
||||
if (joliet)
|
||||
free (root.joliet_name);
|
||||
if (cd.buffer != NULL)
|
||||
{
|
||||
free (cd.buffer);
|
||||
|
|
Loading…
Reference in a new issue