summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2013-08-08 13:54:46 +0000
committerMatthew Jordan <mjordan@digium.com>2013-08-08 13:54:46 +0000
commit2a8219b64a2886457326e3f0d14317023d9f1652 (patch)
tree69567dc8165bb16f13c71795ae4c9e62fb088aa0 /channels
parent88bef0b3dd99e0f3a4cd0d3fd29a9d172dcd9663 (diff)
Prevent spurious memory error when appending backtrace with MALLOC_DEBUG
Backtraces are allocated outside of the usual memory tracking performed by MALLOC_DEBUG. This allows them to be used by the memory tracking enabled by that build option; however, it also means that when backtraces are disposed of they have to be done so outside of the re-defined free. This patch undef's free prior to disposing of the allocated backtrace when a backtrace is appended as a result of 'core show locks'. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions