]> granicus.if.org Git - neomutt/commitdiff
tags: fix leak
authorRichard Russon <rich@flatcap.org>
Tue, 2 Jul 2019 13:54:39 +0000 (14:54 +0100)
committerRichard Russon <rich@flatcap.org>
Fri, 5 Jul 2019 11:16:25 +0000 (12:16 +0100)
email/tags.c

index c843f645d766182f18702cf2abae32d8e8fffbc5..a7ed1aad960faaa41f1acd92eadbbd321d1203ca 100644 (file)
@@ -196,7 +196,7 @@ bool driver_tags_replace(struct TagHead *head, char *tags)
     {
       driver_tags_add(head, np->data);
     }
-    mutt_list_clear(&hsplit);
+    mutt_list_free(&hsplit);
   }
   return true;
 }