Add missing return 29/14129/1
Vincent COUVERT [Wed, 26 Mar 2014 07:49:02 +0000 (08:49 +0100)]
Change-Id: I7d916d373fa396a83d373c28b5333258e6b6d5e4

scilab/modules/gui/sci_gateway/c/sci_figure.c

index ea9ac49..80afdda 100644 (file)
@@ -254,6 +254,7 @@ int sci_figure(char * fname, unsigned long fname_len)
                 {
                     Scierror(999, _("%s: Wrong size for input argument #%d: A single string expected.\n"), fname, i + 1);
                     freeAllocatedSingleString(pstProName);
+                    return 1;
                 }
 
                 getAllocatedSingleString(pvApiCtx, piAddrData, &pstVal);