diff options
Diffstat (limited to 'src/input/libreal/real.c')
-rw-r--r-- | src/input/libreal/real.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/libreal/real.c b/src/input/libreal/real.c index 213769ff5..71bbfba60 100644 --- a/src/input/libreal/real.c +++ b/src/input/libreal/real.c @@ -659,7 +659,7 @@ rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwid lprintf("Stream description size: %i\n", size); - description = calloc(size+1, sizeof(char)); + description = malloc(size+1); if( rtsp_read_data(rtsp_session, description, size) <= 0) { xine_buffer_free(buf); |