forked from pool/ncurses
20 lines
407 B
Plaintext
20 lines
407 B
Plaintext
|
--- ncurses/base/lib_freeall.c
|
||
|
+++ ncurses/base/lib_freeall.c
|
||
|
@@ -51,6 +51,7 @@
|
||
|
{
|
||
|
WINDOWLIST *p, *q;
|
||
|
char *s;
|
||
|
+ va_list empty_va;
|
||
|
|
||
|
T((T_CALLED("_nc_freeall()")));
|
||
|
#if NO_LEAKS
|
||
|
@@ -99,7 +100,7 @@
|
||
|
if ((s = _nc_home_terminfo()) != 0)
|
||
|
free(s);
|
||
|
|
||
|
- (void) _nc_printf_string(0, 0);
|
||
|
+ (void) _nc_printf_string(0, empty_va);
|
||
|
#ifdef TRACE
|
||
|
(void) _nc_trace_buf(-1, 0);
|
||
|
#endif
|