Commit 50e8d93b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

free live-wire Curve segment using g_slice_free().

2007-06-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpiscissorstool.c (gimp_iscissors_tool_draw): free
	live-wire Curve segment using g_slice_free().


svn path=/trunk/; revision=22799
parent 94c5cd06
2007-06-18 Sven Neumann <sven@gimp.org>
* app/tools/gimpiscissorstool.c (gimp_iscissors_tool_draw): free
live-wire Curve segment using g_slice_free().
2007-06-18 Sven Neumann <sven@gimp.org>
 
* app/file/file-open.c (file_open_from_command_line): use
......@@ -772,7 +772,7 @@ gimp_iscissors_tool_draw (GimpDrawTool *draw_tool)
if (iscissors->livewire->points)
g_ptr_array_free (iscissors->livewire->points, TRUE);
g_free (iscissors->livewire);
g_slice_free (ICurve, iscissors->livewire);
iscissors->livewire = NULL;
}
......@@ -895,6 +895,7 @@ iscissors_draw_curve (GimpDrawTool *draw_tool,
}
gimp_draw_tool_draw_lines (draw_tool, points, len, FALSE, FALSE);
g_free (points);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment