[Home]

Summary:ASTERISK-24021: Reference debugging has incorrect path in res_musiconhold.c
Reporter:Scott Griepentrog (sgriepentrog)Labels:
Date Opened:2014-07-10 13:59:12Date Closed:2015-03-15 15:40:12
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In res_musiconhold.c, the implementation of REF_DEBUG has a hard coded path to the ref log file instead of using the AST_LOG_DIR path.

{noformat}
           FILE *ref = fopen("/tmp/refs", "a");
{noformat}

Additionally, the wiki documentation for "Reference Count Debugging" (https://wiki.asterisk.org/wiki/display/AST/Reference+Count+Debugging) is out of date and does not match the current implementation.
Comments:By: Corey Farrell (coreyfarrell) 2015-03-15 15:40:12.996-0500

Fix committed by [~rmudgett], r421799.