cgen: call va_end() in _str()

pull/5364/head
Alexander Medvednikov 2020-06-12 17:33:08 +02:00
parent 7750ce5f60
commit 0d1e5abc41
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ void _STR_PRINT_ARG(const char *fmt, char** refbufp, int *nbytes, int *memsize,
*memsize += (*memsize + *memsize) / 3 + guess;
*refbufp = (char*)realloc((void*)*refbufp, *memsize);
}
va_end(args);
}
string _STR(const char *fmt, int nfmts, ...) {