projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356a1e3
)
[CDMAKE]
author
Thomas Faber
<thomas.faber@reactos.org>
Fri, 17 Jan 2014 16:05:29 +0000
(16:05 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Fri, 17 Jan 2014 16:05:29 +0000
(16:05 +0000)
- Correctly free DIR_RECORD::joliet_name
svn path=/trunk/; revision=61651
reactos/tools/cdmake/cdmake.c
patch
|
blob
|
history
diff --git
a/reactos/tools/cdmake/cdmake.c
b/reactos/tools/cdmake/cdmake.c
index
5d365f0
..
854f703
100644
(file)
--- a/
reactos/tools/cdmake/cdmake.c
+++ b/
reactos/tools/cdmake/cdmake.c
@@
-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);