- Index
- » Developer
- » OpenModelica development
- » OMPlotGUI open file handle
Page Start Prev 1 Next End
OMPlotGUI open file handle
OMPlotGUI open file handle
Nov-22-11 15:00:31
In OMPlot/OMPlotGUI/PlotWindow.cpp is a memory leak when opening "mat" files.
For opening the file a "omc_new_matlab4_reader" is created in line 359. However, this object is never deleted. This does not only lead to a memory leak but also keeps the file handle openend. Therefore, the file which was opened cannot be overwritten as long as the application using the PlotWindow object is running.
It seems like adding "omc_free_matlab4_reader" somewhere arround line 411 would solve this problem.
Best regards,
Michael
Edited by: mburisch - Nov-22-11 18:01:17
Page Start Prev 1 Next End
- Index
- » Developer
- » OpenModelica development
- » OMPlotGUI open file handle
There are 0 guests and 0 other users also viewing this topic