Commit a9efcaa9 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

don't free the writer struct too early.

2007-07-17  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfigwriter.c (gimp_config_writer_finish):
	don't free the writer struct too early.


svn path=/trunk/; revision=22939
parent b56e206d
2007-07-17 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpconfigwriter.c (gimp_config_writer_finish):
don't free the writer struct too early.
2007-07-16 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-new.c (gimp_image_new_get_last_template): sync
......@@ -545,14 +545,14 @@ gimp_config_writer_finish (GimpConfigWriter *writer,
success = TRUE;
}
g_slice_free (GimpConfigWriter, writer);
if (writer->error)
{
g_propagate_error (error, writer->error);
return FALSE;
success = FALSE;
}
g_slice_free (GimpConfigWriter, writer);
return success;
}
......
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