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;
|
*notChanged = filePaths;
|
||||||
|
|
||||||
// Check for modified editors
|
// Check for modified editors
|
||||||
if (!saveModifiedEditors(m_projectFilePath))
|
if (!saveModifiedEditors(m_projectFilePath)) {
|
||||||
|
delete reader;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if file is readonly
|
// Check if file is readonly
|
||||||
ProEditorModel proModel;
|
ProEditorModel proModel;
|
||||||
|
Reference in New Issue
Block a user