diff --git a/share/qtcreator/qml/qmlpuppet/container/imagecontainer.cpp b/share/qtcreator/qml/qmlpuppet/container/imagecontainer.cpp index 87505ca4580ae5eea45a634a5c3317ea6befa6b1..497bb57d07651608235dfd899faf5aa143794cd2 100644 --- a/share/qtcreator/qml/qmlpuppet/container/imagecontainer.cpp +++ b/share/qtcreator/qml/qmlpuppet/container/imagecontainer.cpp @@ -121,7 +121,6 @@ static SharedMemory *createSharedMemory(qint32 key, int byteCount) if (!sharedMemory->isAttached()) { globalSharedMemoryContainer()->remove(key); - delete sharedMemory; sharedMemory = 0; } }