movenc-test: add a missing va_end call

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Ganesh Ajjanagadde 2015-12-04 01:03:26 -05:00 committed by Martin Storsjö
parent b8b21dee0f
commit 8df8f0c70c
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ static void check_func(int value, int line, const char *msg, ...)
vprintf(msg, ap); vprintf(msg, ap);
printf("\n"); printf("\n");
check_faults++; check_faults++;
va_end(ap);
} }
} }
#define check(value, ...) check_func(value, __LINE__, __VA_ARGS__) #define check(value, ...) check_func(value, __LINE__, __VA_ARGS__)