Module: kamailio
Branch: master
Commit: 542a8f8e6d6f8242ec1dea51ea9aa4a37403dcc8
URL:
https://github.com/kamailio/kamailio/commit/542a8f8e6d6f8242ec1dea51ea9aa4a…
Author: Luis Azedo <luis(a)2600hz.com>
Committer: Luis Azedo <luis.azedo(a)factorlusitano.com>
Date: 2015-07-01T16:29:17+01:00
kazoo : fix memory leak
---
Modified: modules/kazoo/kz_amqp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/542a8f8e6d6f8242ec1dea51ea9aa4a…
Patch:
https://github.com/kamailio/kamailio/commit/542a8f8e6d6f8242ec1dea51ea9aa4a…
---
diff --git a/modules/kazoo/kz_amqp.c b/modules/kazoo/kz_amqp.c
index 06e1599..34741a6 100644
--- a/modules/kazoo/kz_amqp.c
+++ b/modules/kazoo/kz_amqp.c
@@ -2081,6 +2081,7 @@ void kz_amqp_cmd_timeout_cb(int fd, short event, void *arg)
close(cmd->timerfd);
event_del(cmd->timer_ev);
pkg_free(cmd->timer_ev);
+ pkg_free(cmd->message_id);
pkg_free(cmd);
}