From 186fca07c5bbdde4e208e019090724dd938400b8 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 11 Mar 2019 20:38:49 +0100 Subject: control-center: Fix memory leak Reported by clang: control-center.c:84:2: warning: Potential leak of memory pointed to by 'action' g_slist_free(key_list); ^~~~~~~~~~~~ --- libslab/app-shell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libslab/app-shell.h') diff --git a/libslab/app-shell.h b/libslab/app-shell.h index 6b968763..9db7a9d1 100644 --- a/libslab/app-shell.h +++ b/libslab/app-shell.h @@ -112,7 +112,7 @@ typedef struct typedef struct { - const gchar *name; + gchar *name; MateDesktopItem *item; } AppAction; -- cgit v1.2.1