summaryrefslogtreecommitdiff
path: root/src/input/mmsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/mmsh.c')
-rw-r--r--src/input/mmsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/mmsh.c b/src/input/mmsh.c
index ae1c62bc1..2feb7c37b 100644
--- a/src/input/mmsh.c
+++ b/src/input/mmsh.c
@@ -636,7 +636,7 @@ mmsh_t *mmsh_connect (xine_stream_t *stream, const char *url, int bandwidth) {
report_progress (stream, 0);
- this = (mmsh_t*) xine_xmalloc (sizeof (mmsh_t));
+ this = calloc(1, sizeof (mmsh_t));
this->stream = stream;
this->url = strdup(url);