[sr-dev] [kamailio] sqlops: Don't pkg_free memory that wasn't pkg_malloc'd (#339)
Chris Double
notifications at github.com
Wed Sep 23 13:49:18 CEST 2015
- Don't pkg_free the gparam_t parameter of sql_parse_index.
When called within pv_parse_dbr_name that parameter is
an internal field in the sql_pv_t structure and wasn't
allocated with pkg_malloc.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/339
-- Commit Summary --
* sqlops: Don't pkg_free memory that wasn't pkg_malloc'd
-- File Changes --
M modules/sqlops/sql_var.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/339.patch
https://github.com/kamailio/kamailio/pull/339.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/339
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150923/89625a3b/attachment-0001.html>
More information about the sr-dev
mailing list