plug memory leak

This commit is contained in:
Oswald Buddenhagen
2009-12-04 21:18:30 +01:00
parent fc99db0235
commit e408159bfe

View File

@@ -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;