Skip to content
Snippets Groups Projects
Commit a9b7ade5 authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

p2p: fix heap-use-after-free error

Because the callback is shared by multiple objects, parent MUST be passed
as a weak pointer to avoid any use after free.

Change-Id: Ia03b1aa7326922fe3d07a62f0ac73e9a15da40b0
Gitlab: #307
parent d76904f6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment