colorpickerportal: Fix memory leak

This commit is contained in:
Mohammed Sadiq 2018-07-30 10:55:52 +05:30
parent a8c6f222ed
commit 76ed6cf9d8

View File

@ -206,6 +206,7 @@ gtk_color_picker_portal_pick (GtkColorPicker *cp,
NULL);
g_free (handle);
g_free (sender);
g_variant_builder_init (&options, G_VARIANT_TYPE_VARDICT);
g_variant_builder_add (&options, "{sv}", "handle_token", g_variant_new_string (token));