Coverity: graphic_export module resource leaks fixed
[scilab.git] / scilab / modules / graphic_export / sci_gateway / cpp / sci_xend.cpp
index 169b0f4..072c474 100644 (file)
@@ -51,6 +51,7 @@ int sci_xend(char * fname, void *pvApiCtx)
                 Scierror(999, _("%s: An error occurred: %s\n"), fname, ret);
                 return 0;
             }
+            delete[] ret;
         }
     }