mirror of https://github.com/GNOME/gimp.git
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:
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>
|
||||
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue