Displaying 1 result from an estimated 1 matches for "notifyfreed".
2018 Sep 18
2
suggested bug fix in RTDyldObjectLinkingLayer
...n, but it can happen in our application, causing it to crash.
Might I suggest the following patch?
Geoff
--- RTDyldObjectLinkingLayer.h (revision 342448)
+++ RTDyldObjectLinkingLayer.h (working copy)
@@ -175,7 +175,7 @@
}
~ConcreteLinkedObject() override {
- if (this->Parent.NotifyFreed)
+ if (this->Parent.NotifyFreed && ObjForNotify.getBinary())
this->Parent.NotifyFreed(K, *ObjForNotify.getBinary());
MemMgr->deregisterEHFrames();