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
This commit is contained in:

committed by
Sven Neumann

parent
b56e206d0b
commit
a9efcaa935
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2007-07-16 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/core/gimpimage-new.c (gimp_image_new_get_last_template): sync
|
* app/core/gimpimage-new.c (gimp_image_new_get_last_template): sync
|
||||||
|
@ -545,14 +545,14 @@ gimp_config_writer_finish (GimpConfigWriter *writer,
|
|||||||
success = TRUE;
|
success = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_slice_free (GimpConfigWriter, writer);
|
|
||||||
|
|
||||||
if (writer->error)
|
if (writer->error)
|
||||||
{
|
{
|
||||||
g_propagate_error (error, writer->error);
|
g_propagate_error (error, writer->error);
|
||||||
return FALSE;
|
success = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_slice_free (GimpConfigWriter, writer);
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user