diff options
author | Daniel d'Andrada <daniel.dandrada@canonical.com> | 2012-02-09 11:05:55 -0200 |
---|---|---|
committer | Daniel d'Andrada <daniel.dandrada@canonical.com> | 2012-02-09 11:05:55 -0200 |
commit | 2375490ebb1d570adb92d235323a0c9156435d23 (patch) | |
tree | b17ad58f109cc2b60e79620d02a8feffa6b018ca /libindicator | |
parent | 238865c76b62cc140136a7ce166c9f2ea032678d (diff) | |
download | libayatana-indicator-2375490ebb1d570adb92d235323a0c9156435d23.tar.gz libayatana-indicator-2375490ebb1d570adb92d235323a0c9156435d23.tar.bz2 libayatana-indicator-2375490ebb1d570adb92d235323a0c9156435d23.zip |
Plug memory leak in parse_keyfile function.
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-desktop-shortcuts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libindicator/indicator-desktop-shortcuts.c b/libindicator/indicator-desktop-shortcuts.c index 62bf504..2ae78f9 100644 --- a/libindicator/indicator-desktop-shortcuts.c +++ b/libindicator/indicator-desktop-shortcuts.c @@ -281,6 +281,7 @@ parse_keyfile (IndicatorDesktopShortcuts * ids) gchar * nickalloc = g_strdup(nicks[i]); g_array_append_val(priv->nicks, nickalloc); + g_free(groupname); } if (nicks != NULL) { |