Hi,
Issue found by Coverity Scan.
CID 210616 (#1 of 1): Missing varargs init or cleanup (VARARGS)

--- a\src\iup_scanf.c   Sun Jul 26 03:10:04 2015
+++ b\src\iup_scanf.c   Tue Jan 16 23:38:37 2018
@@ -175,9 +175,9 @@
     }
     ++fields_out_count;
   }
-  va_end(va);
 
 cleanup:
+  va_end(va);
   if (s1) free(s1);
   if (title) free(title);
   if (width) free(width);

Best.
Ranier.

Attachment: iup_scanf.patch
Description: iup_scanf.patch

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to