Commit e408159b authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

plug memory leak

parent fc99db02
......@@ -583,8 +583,10 @@ void Qt4PriFileNode::changeFiles(const FileType fileType,
*notChanged = filePaths;
// Check for modified editors
if (!saveModifiedEditors(m_projectFilePath))
if (!saveModifiedEditors(m_projectFilePath)) {
delete reader;
return;
}
// Check if file is readonly
ProEditorModel proModel;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment