diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-05-01 22:30:26 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-05-16 17:19:42 +0200 |
commit | c44cbbf839dcff3f7b83ca3a051854e52fe88e40 (patch) | |
tree | 5ec3794a6ddaaf8bc52ef6c0d031a38fc4098740 /openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c | |
parent | 7ab9a9eb50076e98cae0c978622d7be99d9d1b02 (diff) |
nat: Allocate bsc_nat_parsed on the stack instead of heap
There's no real need to allocate it using talloc. Allocating it on the
stack simplifies the code, avoids mem leaks and makes it faster.
Change-Id: I66c44890952339f15131081e2f629a2824b6d3ba
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c')
0 files changed, 0 insertions, 0 deletions