From 35a0d08a8cf22bd8e135ee819b54136ec5266324 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 23 Oct 2006 21:18:18 +0000 Subject: - unregister all the configuration callbacks when disposing of the class CVS patchset: 8349 CVS date: 2006/10/23 21:18:18 --- src/input/input_mms.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input/input_mms.c b/src/input/input_mms.c index e2939428d..d4f6cb940 100644 --- a/src/input/input_mms.c +++ b/src/input/input_mms.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_mms.c,v 1.63 2006/07/10 22:08:15 dgp85 Exp $ + * $Id: input_mms.c,v 1.64 2006/10/23 21:18:18 hadess Exp $ * * mms input plugin based on work from major mms */ @@ -429,6 +429,8 @@ static void mms_class_dispose (input_class_t *this_gen) { this->xine->config->unregister_callback(this->xine->config, "media.network.bandwidth"); + this->xine->config->unregister_callback(this->xine->config, + "media.network.mms_protocol"); free (this); } -- cgit v1.2.3