Fix some valgrind issues
[scilab.git] / scilab / modules / console / src / c / cmdLine / getKey.c
index 4348d0a..368e3c2 100644 (file)
@@ -347,6 +347,7 @@ char *getCmdLine(void)
     }
 
     multiByteString = wide_string_to_UTF8(&commandLine[nextLineLocationInWideString]);
+    FREE(commandLine);
 
     nextLineLocationInWideString = cursorLocation + 1;