Core src: fix a double-free after 7db03cc4 96/18196/1
Paul Bignier [Mon, 30 May 2016 15:04:25 +0000 (17:04 +0200)]
Change-Id: Ia5b9a2714738961ee14af54898e9bdcd6d5d3584

scilab/modules/core/src/cpp/InitScilab.cpp

index a6868c0..4c2f1a8 100644 (file)
@@ -613,11 +613,6 @@ void* scilabReadAndExecCommand(void* param)
     }
     while (ConfigVariable::getForceQuit() == false);
 
-    if(command)
-    {
-        FREE(command);
-    }
-
     return NULL;
 }