about summary refs log tree commit diff stats
path: root/src/xmpp/form.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/form.c')
-rw-r--r--src/xmpp/form.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/form.c b/src/xmpp/form.c
index a1fa31d4..dc8c583c 100644
--- a/src/xmpp/form.c
+++ b/src/xmpp/form.c
@@ -447,6 +447,7 @@ form_tag_exists(DataForm* form, const char* const tag)
     GList* curr = tags;
     while (curr) {
         if (g_strcmp0(curr->data, tag) == 0) {
+            g_list_free(tags);
             return TRUE;
         }
         curr = g_list_next(curr);