mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: call va_end() in _str()
This commit is contained in:
parent
7750ce5f60
commit
0d1e5abc41
@ -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, ...) {
|
||||
|
Loading…
Reference in New Issue
Block a user