diff options
author | rbuj <[email protected]> | 2019-03-11 20:38:49 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-04-19 23:00:12 +0200 |
commit | 186fca07c5bbdde4e208e019090724dd938400b8 (patch) | |
tree | e3f590be983557f197d9c27e7a1de37090355aae /libslab | |
parent | 00147636737d36b4b05f54a6f64f854932767129 (diff) | |
download | mate-control-center-186fca07c5bbdde4e208e019090724dd938400b8.tar.bz2 mate-control-center-186fca07c5bbdde4e208e019090724dd938400b8.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.h | 2 |
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; |