Browse Source

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

master
kevin 11 years ago
parent
commit
d0b9ccafe5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      cmText.c

+ 1
- 0
cmText.c View File

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

Loading…
Cancel
Save