From d0b9ccafe51c90884624fe9040644843fd51c56f Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 22 May 2013 10:31:22 -0700 Subject: [PATCH] cmText.c:Added a va_end() to mach the va_copy in _cmTextSysVPrintf(). --- cmText.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmText.c b/cmText.c index 478b962..7fe921a 100644 --- a/cmText.c +++ b/cmText.c @@ -102,6 +102,7 @@ cmChar_t* _cmTextSysVPrintf( cmTextSysH_t h, cmLHeapH_t lhH, bool staticFl, c unsigned m = vsnprintf(s,n+1,fmt,vl1); assert(m==n); s[n] = 0; + va_end(vl1); return s; }