Skip to content

Commit

Permalink
Fix memoryleak ipc proxy binder base (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Arteev authored and zusage committed Nov 2, 2020
1 parent 79ec954 commit 3050bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipc/ipc-common/IPCProxyBinderBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class IPCProxyBinderBase : public QObject
return qobject_cast<SubInterfaceProxyType *>(&(m_subProxies[objectPath]->owner()));
}

auto proxy = new SubInterfaceProxyType();
auto proxy = new SubInterfaceProxyType(this);
proxy->ipc()->setObjectPath(objectPath);
proxy->connectToServer();

Expand Down

0 comments on commit 3050bb4

Please sign in to comment.