diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-08-09 21:15:40 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-08-09 21:15:40 +0800 |
commit | f47df64a3b5f7389c8a184ee05b8dc0bcc9c0700 (patch) | |
tree | 3aafb714b240836b477d7a5f9019835d19027f69 /openbsc/include | |
parent | 7bb0eb9ef5b6d73fb2975c774bbad8de455c512b (diff) |
[GPRS NS] Fix memory leak in gprs_ns_sendmsg() error path
When gprs_ns_sendmsg() succeeds in sending the message, we free()d the
msgb after transmitting it on the socket. However, if the NS-VC is
blocked or some other error condition exists, we returned an error
code but didn't free the msgb.
This resulted in an error leak which is now being addressed.
Diffstat (limited to 'openbsc/include')
0 files changed, 0 insertions, 0 deletions