[sr-dev] [kamailio] jsonrpc-c notification does not free shm memory (#296)

Hugh Waite notifications at github.com
Thu Aug 27 15:49:29 CEST 2015


Hi,
I think your problem is at line 238
```
@@ -237,6 +236,10 @@

    pkg_free(ns);
    json_object_put(payload);
+   if (cmd->notify_only) free_pipe_cmd(cmd);
+error:
+   if (cmd->notify_only) free_pipe_cmd(cmd);
+   return;
 }
```
You are calling free_pipe_cmd before and after the error: label

Hugh

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/296#issuecomment-135437733
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150827/68eb4252/attachment.html>


More information about the sr-dev mailing list