Summary: | ASTERISK-00524: ast_hangup should assing NULL to freed chan | ||
Reporter: | izo (izo) | Labels: | |
Date Opened: | 2003-11-13 02:23:43.000-0600 | Date Closed: | 2011-06-07 14:10:43 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | One can use several times ast_hangup on same channel in own application. After using ast_hangup on my debian box with glibc 2.3 chan points to some garbage. Thats why it want return false on "if (chan) ". It would be nice to assing NULl to chan same as it is done with chan-pvt | ||
Comments: | By: Mark Spencer (markster) 2003-11-13 15:43:19.000-0600 uhm, chan is (like all variables in C) passed on the stack. that means we can't modify it, just what it points to. |