[Xfce4-commits] [apps/xfce4-screensaver] 162/425: don't leak memory
noreply at xfce.org
noreply at xfce.org
Mon Oct 15 01:50:09 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit 94aecb2f6832701add2c93cf87dadcd510764604
Author: Monsta <monsta at inbox.ru>
Date: Sat Nov 8 15:05:17 2014 +0300
don't leak memory
---
src/gs-lock-plug.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 1efaeab..91fac54 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -490,6 +490,10 @@ gs_lock_plug_get_text (GSLockPlug *plug,
{
*text = local_text;
}
+ else
+ {
+ g_free (local_text);
+ }
}
typedef struct
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list