plug a fossilised (as in been there a long there) memory leak
[claws.git] / src / filtering.c
index 6505945b155249aa5d78bd54dbd5abf532009547..a679a62a56bcb6d1d40252fa35b9f42c3380ad21 100644 (file)
@@ -400,6 +400,8 @@ void filter_message(GSList *filtering_list, FolderItem *inbox,
        msginfo->msgnum = msgnum;
 
        filter_msginfo(filtering_list, inbox, msginfo, folder_table);
        msginfo->msgnum = msgnum;
 
        filter_msginfo(filtering_list, inbox, msginfo, folder_table);
+
+       procmsg_msginfo_free(msginfo);
 }
 
 gchar *filteringaction_to_string(gchar *dest, gint destlen, FilteringAction *action)
 }
 
 gchar *filteringaction_to_string(gchar *dest, gint destlen, FilteringAction *action)