forked from qt-creator/qt-creator
plug memory leak
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user