diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index c3de36059cbe7012fb8b5e7c1c35630c5687dfdd..541700f87819e2f9c372ae9a9ba1451ae53a7d71 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -4712,7 +4712,8 @@ void GdbEngine::handleNamespaceExtraction(const GdbResponse &response) QFile file(response.cookie.toString()); file.open(QIODevice::ReadOnly); QByteArray ba = file.readAll(); - //file.remove(); + file.close(); + file.remove(); int pos = ba.indexOf("7QString9fromAscii"); int pos1 = pos - 1; while (pos1 > 0 && ba.at(pos1) != 'N' && ba.at(pos1) > '@')