summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmatekbd/matekbd-keyboard-drawing.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmatekbd/matekbd-keyboard-drawing.c b/libmatekbd/matekbd-keyboard-drawing.c
index 8b99f85..beb2bf8 100644
--- a/libmatekbd/matekbd-keyboard-drawing.c
+++ b/libmatekbd/matekbd-keyboard-drawing.c
@@ -2089,6 +2089,7 @@ free_cdik ( /*colors doodads indicators keys */
g_list_free (drawing->keyboard_items);
drawing->keyboard_items = NULL;
+ g_free (drawing->physical_indicators);
g_free (drawing->keys);
g_free (drawing->colors);
}
@@ -2231,6 +2232,8 @@ destroy (MatekbdKeyboardDrawing * drawing)
if (drawing->surface != NULL) {
cairo_surface_destroy (drawing->surface);
}
+
+ free_cdik (drawing);
}
static void