aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-10-07 15:04:44 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2012-12-18 10:01:27 +0100
commitf7adfdebe9cf2fc09e788fd3d146f733fa9f2f1b (patch)
treeedefdc5eccb33b8e80304a6a3468028f61d61584
parent701d9f83f84aa8c51b49c23f196776b56fda15e0 (diff)
Fix: Removed potential double free bug when receiving NS messages
-rw-r--r--src/gprs_bssgp_pcu.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index 44fb700..7c25fc8 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -427,8 +427,6 @@ static int sgsn_ns_cb(enum gprs_ns_evt event, struct gprs_nsvc *nsvc, struct msg
break;
default:
LOGP(DPCU, LOGL_NOTICE, "RLCMAC: Unknown event %u from NS\n", event);
- if (msg)
- talloc_free(msg);
rc = -EIO;
break;
}