fix va_end call

pull/349/head
Gargaj 2014-08-28 15:51:01 +02:00
parent 6f828087f9
commit e2401c8b58
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ int ioprintf( IOStream * io, const char * format, ... )
va_start( va, format );
int nSize = vsnprintf( sz, 4096, format, va );
ai_assert( nSize < 4096 );
va_end( format );
va_end( va );
io->Write( sz, sizeof(char), nSize );