]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-test: Added missing va_end() call.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 9 Sep 2016 07:38:10 +0000 (10:38 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 9 Sep 2016 07:39:36 +0000 (10:39 +0300)
src/lib-test/test-common.c

index 4b60c5012f78746862bed365d4617a54095e8e67..7ac090071d7e1669371d36edba2e9190f89ea01b 100644 (file)
@@ -306,6 +306,7 @@ test_error_handler(const struct failure_context *ctx,
                        suppress = strstr(str, expected_error_str) != NULL;
                        test_assert(suppress == TRUE);
                        i_free_and_null(expected_error_str);
+                       va_end(args2);
                } T_END;
                expected_errors--;
        } else {