[Home]

Summary:ASTERISK-00495: Memory leak probably in chan_local
Reporter:izo (izo)Labels:
Date Opened:2003-11-06 20:47:09.000-0600Date Closed:2004-09-25 02:49:15
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When using sample.call file for generating call to chan_local and after answering haning up valgrind reports memleak.

sample.call file
Channel: Local/600@trigger
MaxRetries: 0
RetryTime: 60
WaitTime: 30
Application: Hangup
Data: 1234

extension.conf
[trigger]
exten => 600,1,Answer()
exten => 600,2,Wait(100)
exten => 600,3,Hangup()


****** ADDITIONAL INFORMATION ******

==4249== 104 bytes in 1 blocks are definitely lost in loss record 228 of 326
Debug from valgrind
==4249==    at 0x4002A0EE: malloc (vg_replace_malloc.c:153)
==4249==    by 0x8053199: ast_frdup (frame.c:250)
==4249==    by 0x80567C9: ast_queue_frame (channel.c:360)
==4249==    by 0x4222DAD3: ??? (chan_local.c:111)
==4249==    by 0x8056E68: ast_hangup (channel.c:664)
==4249==    by 0x80679C0: ast_pbx_run_app (pbx.c:3893)
==4249==    by 0x8067BF9: ast_pbx_outgoing_app (pbx.c:3929)
==4249==    by 0x42F8DACF: ??? (pbx_spool.c:192)

Comments:By: Mark Spencer (markster) 2003-11-06 21:22:18.000-0600

Fixed in CVS