diff options
author | rbuj <[email protected]> | 2019-03-11 20:38:49 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2019-05-31 16:11:26 +0300 |
commit | 74ee0b1dec9d86787574b1d098dc3c72b17e715a (patch) | |
tree | d6789bf0b6111fe2ae9aa9b0008280686fb5771d /libslab | |
parent | a8d71fcf0f3ee0cd4e54907ad2d9073553029d41 (diff) | |
download | mate-control-center-74ee0b1dec9d86787574b1d098dc3c72b17e715a.tar.bz2 mate-control-center-74ee0b1dec9d86787574b1d098dc3c72b17e715a.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; |