diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-11-16 18:31:57 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-11-20 16:21:44 +0000 |
commit | 10ee73a7b39b2867fde2a827b199f6264149c75c (patch) | |
tree | 50dd7a7f3a74bd2124c7223e519da49c3856e6c5 /src/gsmtap_util.c | |
parent | 3fad5d782acbd97be1124ccab874741261913429 (diff) |
rate_ctr: fix mem leak for mangled desc
Using the NULL context creates mem leaks that bother sanitizer builds.
Allocate as talloc "child" of the rate_ctr_group, so that the mangled desc (if
any) gets freed when the rate_ctr group is freed.
Remove the comment concerning osmo-msc: the way to fix the unexpected talloc
state in osmo-msc tests is to have no invalid rate counter names in osmo-msc.
See Ib1db8e3dc6c833174f1b0b1ca051b0861f477408 (osmo-msc).
Change-Id: Ief9abfeb78b7706200bcc6aaa5dcb04fbeaa9b5b
Diffstat (limited to 'src/gsmtap_util.c')
0 files changed, 0 insertions, 0 deletions