Author: tfaber
Date: Fri Jan 17 16:05:29 2014
New Revision: 61651
URL:
http://svn.reactos.org/svn/reactos?rev=61651&view=rev
Log:
[CDMAKE]
- Correctly free DIR_RECORD::joliet_name
Modified:
trunk/reactos/tools/cdmake/cdmake.c
Modified: trunk/reactos/tools/cdmake/cdmake.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cdmake/cdmake.c?rev=…
==============================================================================
--- trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] (original)
+++ trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] Fri Jan 17 16:05:29 2014
@@ -211,10 +211,12 @@
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);