]> git.cworth.org Git - notmuch/blobdiff - notmuch.c
notmuch dump: Free each message as it's used.
[notmuch] / notmuch.c
index cedfebce4c029159cfa23f8960757f7006758200..43af75d2450215c3a67019c425e266cb9b00b2f6 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -431,6 +431,8 @@ dump_command (int argc, char *argv[])
        }
 
        fprintf (output, ")\n");
+
+       notmuch_message_destroy (message);
     }
 
     notmuch_query_destroy (query);