Coverity: completion module resource leaks fixed
[scilab.git] / scilab / modules / completion / src / cpp / UnknownMlistFieldsGetter.cpp
index 6cef6cd..9037e1a 100644 (file)
@@ -100,6 +100,7 @@ const char ** UnknownMlistFieldsGetter::getFieldsName(int * mlist, char ** field
             return FieldsManager::getFields(itemAddr, fieldPath, fieldPathLen, fieldsSize);
         }
     }
+    freeArrayOfString(pstData, rc);
 
     return 0;
 }