summaryrefslogtreecommitdiff
path: root/src/combined/demux_flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/combined/demux_flac.c')
-rw-r--r--src/combined/demux_flac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/combined/demux_flac.c b/src/combined/demux_flac.c
index fdc7ab7ea..ebba63701 100644
--- a/src/combined/demux_flac.c
+++ b/src/combined/demux_flac.c
@@ -607,7 +607,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;
@@ -752,7 +752,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;