Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
fix memory leak


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24838 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Henning Kiel committed Feb 27, 2015
1 parent 18b2b15 commit 1c1431e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion OMEdit/OMEditGUI/Plotting/VariablesWidget.cpp
Expand Up @@ -450,7 +450,6 @@ void VariablesTreeModel::insertVariablesItems(QString fileName, QString filePath
/* open the .mat file */
ModelicaMatReader matReader;
matReader.file = 0;
matReader.fileName = strdup("");
const char *msg[] = {""};
if (fileName.endsWith(".mat"))
{
Expand Down

0 comments on commit 1c1431e

Please sign in to comment.