summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-11 20:38:49 +0100
committerPablo Barciela <[email protected]>2019-04-19 23:36:11 +0200
commitafa879b55fe88a9be991f3730bfe71e84b2e31d5 (patch)
treecbd69cd68697ede350d43aa7d30e9d19c7bf4a06 /libslab
parentf93687d07050480f7b2a13287123823af141b967 (diff)
downloadmate-control-center-afa879b55fe88a9be991f3730bfe71e84b2e31d5.tar.bz2
mate-control-center-afa879b55fe88a9be991f3730bfe71e84b2e31d5.tar.xz
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); ^~~~~~~~~~~~
Diffstat (limited to 'libslab')
-rw-r--r--libslab/app-shell.h2
1 files changed, 1 insertions, 1 deletions
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;