mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 01:52:57 +00:00
[CDMAKE]
- Correctly free DIR_RECORD::joliet_name svn path=/trunk/; revision=61651
This commit is contained in:
parent
356a1e3a52
commit
bc0a6e79fb
1 changed files with 3 additions and 1 deletions
|
@ -211,10 +211,12 @@ static void release_memory(void)
|
||||||
struct directory_record *next =
|
struct directory_record *next =
|
||||||
root.next_in_memory->next_in_memory;
|
root.next_in_memory->next_in_memory;
|
||||||
if (joliet)
|
if (joliet)
|
||||||
free (root.joliet_name);
|
free (root.next_in_memory->joliet_name);
|
||||||
free (root.next_in_memory);
|
free (root.next_in_memory);
|
||||||
root.next_in_memory = next;
|
root.next_in_memory = next;
|
||||||
}
|
}
|
||||||
|
if (joliet)
|
||||||
|
free (root.joliet_name);
|
||||||
if (cd.buffer != NULL)
|
if (cd.buffer != NULL)
|
||||||
{
|
{
|
||||||
free (cd.buffer);
|
free (cd.buffer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue