[OpenSIPS-Devel] [OpenSIPS/opensips] 82c16b: code refactoring in dialplan module

ionutrazvanionita ionutionita at opensips.org
Tue Nov 24 11:56:20 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 82c16b0e87bd1f6853ede2432e1389ecaa2f16dd
      https://github.com/OpenSIPS/opensips/commit/82c16b0e87bd1f6853ede2432e1389ecaa2f16dd
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2015-11-24 (Tue, 24 Nov 2015)

  Changed paths:
    M Makefile.defs
    M modules/dialplan/dialplan.c
    M modules/dialplan/dp_db.c

  Log Message:
  -----------
  code refactoring in dialplan module

* fix memory leaks (partition parameters in pkg were not freed when structure
was moved to shm)
* avoid to do unnecessary allocations; use static strings received as modparam
both in pkg and shm partition structure
* improved code design
* fix bug in add_rule2hash - when void string match expression received("")
return error since it will segfault in core's hash function




More information about the Devel mailing list