[OpenSIPS-Devel] [OpenSIPS/opensips] c29be8: qrouting/drouting: Simplify callbacks code [part 1]

Liviu Chircu noreply at github.com
Wed Feb 5 08:47:22 EST 2020


  Branch: refs/heads/feature/qrouting
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c29be86381f90dc7e0f30496c6d84effb10d3e2b
      https://github.com/OpenSIPS/opensips/commit/c29be86381f90dc7e0f30496c6d84effb10d3e2b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M modules/drouting/dr_cb.h
    M modules/drouting/dr_cb_sorting.h
    M modules/drouting/dr_load.c
    M modules/drouting/routing.c
    M modules/qrouting/qr_stats.c
    M modules/qrouting/qr_stats.h
    M modules/qrouting/qrouting.c

  Log Message:
  -----------
  qrouting/drouting: Simplify callbacks code [part 1]

    * merge unnecessary DRCB_SET_PROFILE callback
    * avoid unnecessary pkg_malloc() bloat, just use stack structures
    * fix a ton of pkg memory leaks





More information about the Devel mailing list