Commit e6d40535 authored by Michael Natterer's avatar Michael Natterer 😴

app: don't forget to ref GimpOperationProfileTransform's profiles

parent 0cd3d7aa
......@@ -200,13 +200,13 @@ gimp_operation_profile_transform_set_property (GObject *object,
case PROP_SRC_PROFILE:
if (self->src_profile)
g_object_unref (self->src_profile);
self->src_profile = g_value_get_object (value);
self->src_profile = g_value_dup_object (value);
break;
case PROP_DEST_PROFILE:
if (self->dest_profile)
g_object_unref (self->dest_profile);
self->dest_profile = g_value_get_object (value);
self->dest_profile = g_value_dup_object (value);
break;
case PROP_INTENT:
......
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