diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-09 15:55:33 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-09 15:55:33 +0200 |
commit | 1e71123be300aa08325aca68f12d54e7149bd820 (patch) | |
tree | 00f2e457fd5a860d70deb5008eb44c60da0dbbde /src/demuxers/demux_real.c | |
parent | c99cd9519a56b2d7c60fa30e9fecd02f08336671 (diff) | |
download | xine-lib-1e71123be300aa08325aca68f12d54e7149bd820.tar.gz xine-lib-1e71123be300aa08325aca68f12d54e7149bd820.tar.bz2 |
Remove a new bunch of xine_malloc() calls.
Also don't reset memory after it's allocated if we do that with
calloc.
Diffstat (limited to 'src/demuxers/demux_real.c')
-rw-r--r-- | src/demuxers/demux_real.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_real.c b/src/demuxers/demux_real.c index ad5daf5ea..48bf24969 100644 --- a/src/demuxers/demux_real.c +++ b/src/demuxers/demux_real.c @@ -440,7 +440,7 @@ static void real_parse_headers (demux_real_t *this) { case CONT_TAG: chunk_size -= PREAMBLE_SIZE; - chunk_buffer = xine_xmalloc(chunk_size); + chunk_buffer = malloc(chunk_size); if (this->input->read(this->input, chunk_buffer, chunk_size) != chunk_size) { free (chunk_buffer); |