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