]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-submit: Fixed memory leak in one test.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 9 Sep 2017 10:27:16 +0000 (12:27 +0200)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 9 Sep 2017 10:27:16 +0000 (12:27 +0200)
src/lib-smtp/test-smtp-submit.c

index 01543f6c9e6abf7b171f6cc9a1b117b8bb7a78f7..e7c11ab8612a53f38517d1b6d97cbf0b8d0db154 100644 (file)
@@ -1716,6 +1716,8 @@ test_client_parallel_sendmail(const struct smtp_submit_settings *submit_set)
        test_message_delivery(test_message1, msg_path1);
        test_message_delivery(test_message2, msg_path2);
 
+       i_free(ctx);
+
        return FALSE;
 }