Commit f47dd800 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix crash temporarily, leak instead

parent ab07fa2b
......@@ -249,8 +249,9 @@ public:
>
static void signalCppPtrDestruction (CppType *cppObject) {
void *value = cppObject->getCBackPtr();
if (value && static_cast<WrappedBaseObject<CppType> *>(value)->owner == WrappedObjectOwner::Internal)
belle_sip_object_unref(value);
//TODO
/*if (value && static_cast<WrappedBaseObject<CppType> *>(value)->owner == WrappedObjectOwner::Internal)
belle_sip_object_unref(value);*/
}
// ---------------------------------------------------------------------------
......
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