[OpenSIPS-Devel] [OpenSIPS/opensips] 631e31: cachedb: Improve variable naming

Liviu Chircu noreply at github.com
Mon May 20 11:25:45 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 631e315217491f3208d5b78f2f2d3b1aad92fd17
      https://github.com/OpenSIPS/opensips/commit/631e315217491f3208d5b78f2f2d3b1aad92fd17
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-05-20 (Mon, 20 May 2019)

  Changed paths:
    M action.c
    M cachedb/cachedb.c
    M cachedb/cachedb.h
    M modules/cachedb_redis/cachedb_redis_dbase.c

  Log Message:
  -----------
  cachedb: Improve variable naming

Make it more obvious that we're dealing with a rows x columns matrix.

(cherry picked from commit 499f0f3219fe0391e013b8c901983990013669bd)


  Commit: 2c7c202c9a6159eb94defb012a50e083ffdb2bd3
      https://github.com/OpenSIPS/opensips/commit/2c7c202c9a6159eb94defb012a50e083ffdb2bd3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-05-20 (Mon, 20 May 2019)

  Changed paths:
    M modules/cachedb_redis/cachedb_redis_dbase.c

  Log Message:
  -----------
  cachedb_redis: Do not leak pkg mem on exceptional cases

In case the driver returned unexpected data, the Redis raw query function
would leak pkg memory.

(cherry picked from commit 6bf972ce5876fc15999a4bcc2e3e29596b2dc0ae)


Compare: https://github.com/OpenSIPS/opensips/compare/f672fe3f3689...2c7c202c9a61



More information about the Devel mailing list