[sr-dev] git:master:54afa459: ndb_redis: keep reference to server spec string

Daniel-Constantin Mierla miconda at gmail.com
Tue Feb 13 09:19:29 CET 2018


Module: kamailio
Branch: master
Commit: 54afa4599e2e9384e2fba5b3e9ab47dc0b344421
URL: https://github.com/kamailio/kamailio/commit/54afa4599e2e9384e2fba5b3e9ab47dc0b344421

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-02-13T09:19:13+01:00

ndb_redis: keep reference to server spec string

- avoid losing the pointer for dynamic discovery which can be
interpreted as memory leak
- free the new server spec if adding it fails
- code reformatted for check_cluster_reply()

---

Modified: src/modules/ndb_redis/redis_client.c
Modified: src/modules/ndb_redis/redis_client.h

---

Diff:  https://github.com/kamailio/kamailio/commit/54afa4599e2e9384e2fba5b3e9ab47dc0b344421.diff
Patch: https://github.com/kamailio/kamailio/commit/54afa4599e2e9384e2fba5b3e9ab47dc0b344421.patch




More information about the sr-dev mailing list