Don't forget to va_end() the va_list we get from va_copy().

Submitted by:	Sean McNeil <sean@mcneil.com>
MFC after:	3 days
This commit is contained in:
Dag-Erling Smørgrav 2004-08-26 06:25:28 +00:00
parent 7fde238f04
commit 096ad1042a
2 changed files with 2 additions and 0 deletions

View File

@ -1233,6 +1233,7 @@ number: if ((dprec = prec) >= 0)
done:
FLUSH();
error:
va_end(orgap);
#ifndef NO_FLOATING_POINT
if (dtoaresult != NULL)
freedtoa(dtoaresult);

View File

@ -1232,6 +1232,7 @@ number: if ((dprec = prec) >= 0)
}
done:
error:
va_end(orgap);
if (convbuf != NULL)
free(convbuf);
if (__sferror(fp))