aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-03-04 13:14:05 +0100
committerHarald Welte <laforge@osmocom.org>2021-03-29 10:20:08 +0200
commitc2fbbd7307e9abf4e6c52051c306917299f1eb85 (patch)
tree48fceaff0734355b2666b52295d332e243c81873 /src/gb/gprs_ns2.c
parent158bc795e52c6de1e71691f71025ef4c06724a90 (diff)
gprs_ns2_sns: Fix memory leak when creating ip[46]_local arrays
Prior to this patch, we would unconditionally allocate new memory for the local SNS IP endpoints. This results in a memory leak on every SNS-SIZE procedure. Let's move to talloc_realloc() which recycles any previously allocated memory. Change-Id: I12cb670e087c6d6190f3f5bf8483ea62008ae06f
Diffstat (limited to 'src/gb/gprs_ns2.c')
0 files changed, 0 insertions, 0 deletions