diff options
-rw-r--r-- | src/sctp_m2ua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sctp_m2ua.c b/src/sctp_m2ua.c index fd4aa90..ebcb9ae 100644 --- a/src/sctp_m2ua.c +++ b/src/sctp_m2ua.c @@ -552,6 +552,7 @@ static int m2ua_conn_read(struct bsc_fd *fd) (struct sockaddr *) &addr, &len, &info, NULL); if (rc <= 0) { LOGP(DINP, LOGL_ERROR, "Failed to read.\n"); + msgb_free(msg); m2ua_conn_destroy(fd->data); return -1; } |