[OpenSIPS-Devel] [OpenSIPS/opensips] 87d59a: ut.h: Convert popular shm_str_xxx() functions to m...

Liviu Chircu noreply at github.com
Tue Sep 20 07:55:17 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 87d59ab503dfe37cda6c94ef15683ed23b1ef0a9
      https://github.com/OpenSIPS/opensips/commit/87d59ab503dfe37cda6c94ef15683ed23b1ef0a9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  ut.h: Convert popular shm_str_xxx() functions to macros

The idea is to help with troubleshooting SHM memory leaks, as any of the
debugging memory allocators will now record the file/code/line of the
original caller of shm_str_xxx(), instead of the former inlined function
itself, which was borderline useless information...





More information about the Devel mailing list