diff options
author | Monsta <[email protected]> | 2014-11-06 13:26:30 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2014-11-23 23:21:35 +0300 |
commit | d37ec4b473b4191f871a02fbb04d915a222ae5ba (patch) | |
tree | c1e1419b29bed10dd1dcd405787d0b5f3c4ee35e /applets/fish/fish.c | |
parent | 9bdf26a667fdb91c2aaa326b946e058677d97a0d (diff) | |
download | mate-panel-d37ec4b473b4191f871a02fbb04d915a222ae5ba.tar.bz2 mate-panel-d37ec4b473b4191f871a02fbb04d915a222ae5ba.tar.xz |
don't leak memory
Diffstat (limited to 'applets/fish/fish.c')
-rw-r--r-- | applets/fish/fish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c index 5ab04e09..d097d12d 100644 --- a/applets/fish/fish.c +++ b/applets/fish/fish.c @@ -1129,8 +1129,8 @@ static char* get_location(void) count++; if (count != 2) { - return NULL; g_free (buffer); + return NULL; } memcpy (location, &buffer [i + 2], len - i - 2); |