Module: sip-router
Branch: master
Commit: 115d33ede1736f7bf8dd151af5e6ca64a23433e9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=115d33e…
Author: Elena-Ramona Modroiu <ramona(a)asipto.com>
Committer: Elena-Ramona Modroiu <ramona(a)asipto.com>
Date: Mon Oct 11 15:27:37 2010 +0200
mqueue: free items removed because of exceeding queue size
---
modules/mqueue/mqueue_api.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/mqueue/mqueue_api.c b/modules/mqueue/mqueue_api.c
index 6007ef0..b6b72ef 100644
--- a/modules/mqueue/mqueue_api.c
+++ b/modules/mqueue/mqueue_api.c
@@ -343,6 +343,7 @@ int mq_item_add(str *qname, str *key, str *val)
mh->ilast = NULL;
else
mh->ifirst->prev = NULL;
+ shm_free(mi);
}
lock_release(&mh->lock);
return 0;