summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gs-lock-plug.c4
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