[gnome-photos] tool-colors: Don't leak the GVariantType
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] tool-colors: Don't leak the GVariantType
- Date: Thu, 2 Feb 2017 23:59:52 +0000 (UTC)
commit 320e6b1e2e308e2db39312addbd1c8f90e044df9
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Feb 3 00:46:38 2017 +0100
tool-colors: Don't leak the GVariantType
src/photos-tool-colors.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-tool-colors.c b/src/photos-tool-colors.c
index 92859d5..67898d6 100644
--- a/src/photos-tool-colors.c
+++ b/src/photos-tool-colors.c
@@ -90,6 +90,7 @@ photos_tool_colors_brightness_contrast_value_changed_timeout (gpointer user_data
g_variant_builder_add (¶meter, "{sd}", "contrast", contrast_real);
g_action_activate (self->brightness_contrast, g_variant_builder_end (¶meter));
+ g_variant_type_free (parameter_type);
self->brightness_contrast_value_changed_id = 0;
return G_SOURCE_REMOVE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]