commit | eab33356d0685fa93cc29a30c0bcd5ffbf1a543d | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sat Jun 27 03:09:08 2009 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Jun 27 03:09:53 2009 +0200 |
tree | f45c17aa5f005090cf1428d5a7db5d62dffb0b4e | |
parent | a0368540ab965a0d05bab113a72f8a4a9ec8aa20 [diff] [blame] |
fix various RSL msgb memory leaks in error paths
diff --git a/openbsc/src/e1_input.c b/openbsc/src/e1_input.c index 56bce01..2d0c134 100644 --- a/openbsc/src/e1_input.c +++ b/openbsc/src/e1_input.c
@@ -236,6 +236,7 @@ if (!msg->trx || !msg->trx->rsl_link) { fprintf(stderr, "rsl_sendmsg: msg->trx == NULL\n"); + talloc_free(msg); return -EINVAL; }