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