Skip to content
Snippets Groups Projects
Commit ccb8a989 authored by deuce's avatar deuce
Browse files

Call va_end() for both va_list variables.

parent 3477d11d
No related branches found
No related tags found
No related merge requests found
...@@ -808,6 +808,7 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(char *fmat, ...) ...@@ -808,6 +808,7 @@ CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(char *fmat, ...)
ret=vsprintf(str,fmat,argptr2); ret=vsprintf(str,fmat,argptr2);
#endif #endif
va_end(argptr); va_end(argptr);
va_end(argptr2);
if(ret>=0) if(ret>=0)
ciolib_cputs(str); ciolib_cputs(str);
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment