diff options
Diffstat (limited to 'src/input/pnm.c')
-rw-r--r-- | src/input/pnm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/pnm.c b/src/input/pnm.c index 3516ab262..edd7a5d71 100644 --- a/src/input/pnm.c +++ b/src/input/pnm.c @@ -716,7 +716,7 @@ pnm_t *pnm_connect(xine_stream_t *stream, const char *mrl) { mrl_ptr+=6; - p = xine_xmalloc(sizeof(pnm_t)); + p = calloc(1, sizeof(pnm_t)); p->stream = stream; p->port=7070; p->url=strdup(mrl); |