summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-12-12 22:56:38 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-12-12 22:56:38 +0000
commitafb0b0c9c5e8bb7e8d673dc9506c2bced27ba66d (patch)
treee659ab2ba6b75dfb27a1700b3934baadcdcf7ffe /src
parent6745fcad40cb1771a7c6b36b5021b7bbda1875ea (diff)
downloadxine-lib-afb0b0c9c5e8bb7e8d673dc9506c2bced27ba66d.tar.gz
xine-lib-afb0b0c9c5e8bb7e8d673dc9506c2bced27ba66d.tar.bz2
small bugfix - init plugin instance struct to 0
CVS patchset: 3499 CVS date: 2002/12/12 22:56:38
Diffstat (limited to 'src')
-rw-r--r--src/input/input_pnm.c2
1 files changed, 1 insertions, 1 deletions
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;