Mhh, in case (building_in_lambda == nullptr) you return;
In case (parent_ != nullptr) you fall through. 

This is in create_capsbuttons() but I dont see this in the stacktrace?

Any idea how to test this?
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1807156-heap-use-after-free/+merge/363584
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/bug-1807156-heap-use-after-free into lp:widelands.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to