Commit b7dbbc6e authored by Tim Jenssen's avatar Tim Jenssen
Browse files

QmlDesigner: fix crash on mac



Came from two deletions at the same time QCache::remove and
delete on sharedMemory.QmlDesigner:

Change-Id: I6a29cf160c8e81ecd955cf36999edc639fbbb63f
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent bbc9005a
......@@ -121,7 +121,6 @@ static SharedMemory *createSharedMemory(qint32 key, int byteCount)
if (!sharedMemory->isAttached()) {
globalSharedMemoryContainer()->remove(key);
delete sharedMemory;
sharedMemory = 0;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment