[sr-dev] git:master:8bc890f5: snmpstats: keep sockets list pointer global

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 19 12:05:30 CET 2017


Module: kamailio
Branch: master
Commit: 8bc890f595005090479cad1670b4360817f307af
URL: https://github.com/kamailio/kamailio/commit/8bc890f595005090479cad1670b4360817f307af

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-12-19T11:20:30+01:00

snmpstats: keep sockets list pointer global

- they are allocated and content could be referenced at runtime, thus no
free
- free allocated variables in case of errors

---

Modified: src/modules/snmpstats/snmpSIPMethodSupportedTable.c
Modified: src/modules/snmpstats/snmpSIPPortTable.c

---

Diff:  https://github.com/kamailio/kamailio/commit/8bc890f595005090479cad1670b4360817f307af.diff
Patch: https://github.com/kamailio/kamailio/commit/8bc890f595005090479cad1670b4360817f307af.patch




More information about the sr-dev mailing list