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 e2e4842..a9aec4d 100644
--- a/libmatekbd/matekbd-keyboard-drawing.c
+++ b/libmatekbd/matekbd-keyboard-drawing.c
@@ -2096,6 +2096,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);
}
@@ -2238,6 +2239,8 @@ destroy (MatekbdKeyboardDrawing * drawing)
if (drawing->surface != NULL) {
cairo_surface_destroy (drawing->surface);
}
+
+ free_cdik (drawing);
}
static void