openbsc[master]: tests/bsc & bsc-nat: fix mem leaks of talloc ctx
gerrit-no-reply at lists.osmocom.org
Sat Feb 4 03:53:40 UTC 2017
Patch Set 2:
> We have to be careful here. Is there a real leak and you silence it
> because of the recursive nature of talloc_free(ctx) or is it just a
> context being leaked by talloc?
> For the commit message it would help to know which leak was fixed.
I see. So we should add talloc asserts on the allocated memblocks. Wich some tests already do. I've updated the commit message.
To view, visit https://gerrit.osmocom.org/1752
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
More information about the gerrit-log