cmText.c:Added a va_end() to mach the va_copy in _cmTextSysVPrintf().

This commit is contained in:
kevin 2013-05-22 10:31:22 -07:00
parent 84923532c4
commit d0b9ccafe5

View File

@ -102,6 +102,7 @@ cmChar_t* _cmTextSysVPrintf( cmTextSysH_t h, cmLHeapH_t lhH, bool staticFl, c
unsigned m = vsnprintf(s,n+1,fmt,vl1); unsigned m = vsnprintf(s,n+1,fmt,vl1);
assert(m==n); assert(m==n);
s[n] = 0; s[n] = 0;
va_end(vl1);
return s; return s;
} }