app: don't leak curve in gimp_curves_config_save_cruft()
This commit is contained in:
@ -690,6 +690,8 @@ gimp_curves_config_save_cruft (GimpCurvesConfig *config,
|
||||
}
|
||||
|
||||
g_string_append_printf (string, "\n");
|
||||
|
||||
g_object_unref (curve);
|
||||
}
|
||||
|
||||
if (! g_output_stream_write_all (output, string->str, string->len,
|
||||
|
Reference in New Issue
Block a user