diff --git a/checkin_notes b/checkin_notes index 6822ec4463..ba95faa58e 100755 --- a/checkin_notes +++ b/checkin_notes @@ -1717,3 +1717,9 @@ David 10 Feb 2005 client_types.h cpu_sched.C cs_scheduler.C + +Charlie 10 Feb 2006 + - Mac: Free memory allocated for strings when longer needed. + + lib/ + mac_backtrace.C diff --git a/lib/mac_backtrace.C b/lib/mac_backtrace.C index be7e8bb951..c9882548ba 100644 --- a/lib/mac_backtrace.C +++ b/lib/mac_backtrace.C @@ -251,6 +251,7 @@ static int OutputFrames(const MoreBTFrame *frameArray, unsigned long frameCount, if (symbol.symbolName[0]) { fprintf(stderr, "%s + 0x%llx", symbol.symbolName, symbol.symbolOffset); + free( (void *) symbol.symbolName); } }