Module: kamailio
Branch: master
Commit: ffdec6d38d0935d8af2633e3d3ded8a985ddfcca
URL:
https://github.com/kamailio/kamailio/commit/ffdec6d38d0935d8af2633e3d3ded8a…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)speakup.nl>
Date: 2019-01-22T16:10:19+01:00
pipelimit: Fix memleak on shutdown
---
Modified: src/modules/pipelimit/pl_ht.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ffdec6d38d0935d8af2633e3d3ded8a…
Patch:
https://github.com/kamailio/kamailio/commit/ffdec6d38d0935d8af2633e3d3ded8a…
---
diff --git a/src/modules/pipelimit/pl_ht.c b/src/modules/pipelimit/pl_ht.c
index 518254f1fa..319d97b1ff 100644
--- a/src/modules/pipelimit/pl_ht.c
+++ b/src/modules/pipelimit/pl_ht.c
@@ -102,6 +102,7 @@ int pl_init_htable(unsigned int hsize)
void pl_pipe_free(pl_pipe_t *it)
{
+ shm_free(it);
return;
}