summaryrefslogtreecommitdiff
path: root/src/combined/flac_demuxer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/combined/flac_demuxer.c')
-rw-r--r--src/combined/flac_demuxer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/combined/flac_demuxer.c b/src/combined/flac_demuxer.c
index 22ee2319b..1105e353a 100644
--- a/src/combined/flac_demuxer.c
+++ b/src/combined/flac_demuxer.c
@@ -592,7 +592,7 @@ open_plugin (demux_class_t *class_gen,
* if we reach this point, the input has been accepted.
*/
- this = xine_xmalloc (sizeof (demux_flac_t));
+ this = calloc(1, sizeof (demux_flac_t));
this->stream = stream;
this->input = input;
@@ -706,7 +706,7 @@ demux_flac_init_class (xine_t *xine, void *data) {
lprintf("demux_flac_init_class\n");
- this = xine_xmalloc (sizeof (demux_flac_class_t));
+ this = calloc(1, sizeof (demux_flac_class_t));
this->config = xine->config;
this->xine = xine;