Stefan Knoblich 41b956fd24 FreeTDM: Don't ftdm_safe_free() span information in ftdm_span_destroy() if span provides a custom span_destroy callback.
Doing so will cause a NULL-deref segfault while removing the current span from the
global hash (cur_span->name == NULL) in ftdm_global_destroy().

Remove all the ftdm_safe_free() calls in the custom callback part of ftdm_span_destroy() and
let ftdm_global_destroy() handle that.

NOTE: Also adds a missing ftdm_safe_free(cur_span->dtmf_hangup) to ftdm_global_destroy().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-01 01:48:03 +02:00
..
2011-08-31 21:05:37 +02:00
2011-02-03 23:46:19 -06:00
2010-11-24 03:58:22 +00:00
2011-04-22 16:43:29 -05:00
2011-09-01 00:18:44 +02:00
2011-08-22 12:33:33 -05:00
2011-08-02 13:05:45 -05:00
2011-07-03 18:45:51 +00:00