diff options
author | Monsta <[email protected]> | 2014-11-08 15:05:17 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-28 14:53:12 +0100 |
commit | 94aecb2f6832701add2c93cf87dadcd510764604 (patch) | |
tree | 9d934e41088463301ca85b3cc7e29c0defca7c44 /src/gs-lock-plug.c | |
parent | 19aa553b919f336c5f44e59451f52b6f679b953b (diff) | |
download | mate-screensaver-94aecb2f6832701add2c93cf87dadcd510764604.tar.bz2 mate-screensaver-94aecb2f6832701add2c93cf87dadcd510764604.tar.xz |
don't leak memory
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r-- | src/gs-lock-plug.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |