summaryrefslogtreecommitdiff
path: root/charpick
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-20 22:52:38 +0200
committerrbuj <[email protected]>2020-07-28 10:00:22 +0200
commitfee9f14b289c782c53862c5fefd643df5ec68f2e (patch)
tree860f519d8a24509922ea45980651fc500c67ded2 /charpick
parent44852cc8e76efd31077b289f0a4848df151ea330 (diff)
downloadmate-applets-fee9f14b289c782c53862c5fefd643df5ec68f2e.tar.bz2
mate-applets-fee9f14b289c782c53862c5fefd643df5ec68f2e.tar.xz
charpick: Fix memory leak reported by clang static analyzer
Diffstat (limited to 'charpick')
-rw-r--r--charpick/charpick.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/charpick/charpick.c b/charpick/charpick.c
index 6d9d4a19..5042542f 100644
--- a/charpick/charpick.c
+++ b/charpick/charpick.c
@@ -515,9 +515,10 @@ build_table(charpick_data *p_curr_data)
index = CLAMP (index, 0, size_ratio-1);
gtk_box_pack_start (GTK_BOX (row_box[index]), toggle_button[i], TRUE, TRUE, 0);
}
-
+
g_free (toggle_button);
-
+ g_free (row_box);
+
gtk_container_add (GTK_CONTAINER(p_curr_data->applet), box);
gtk_widget_show_all (p_curr_data->box);