From afb0b0c9c5e8bb7e8d673dc9506c2bced27ba66d Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Thu, 12 Dec 2002 22:56:38 +0000 Subject: small bugfix - init plugin instance struct to 0 CVS patchset: 3499 CVS date: 2002/12/12 22:56:38 --- src/input/input_pnm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input_pnm.c b/src/input/input_pnm.c index 35f4ea2d1..2ea03f072 100644 --- a/src/input/input_pnm.c +++ b/src/input/input_pnm.c @@ -226,7 +226,7 @@ static input_plugin_t *open_plugin (input_class_t *cls_gen, xine_stream_t *strea return NULL; } - this = (pnm_input_plugin_t *) malloc (sizeof (pnm_input_plugin_t)); + this = (pnm_input_plugin_t *) xine_xmalloc (sizeof (pnm_input_plugin_t)); this->pnm = pnm; this->mrl = mrl; -- cgit v1.2.3