From 4cc9fd313df701f722a81ad4bb551155415ce5cc Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Tue, 10 Jul 2001 21:07:55 +0000 Subject: Fixed get_dir in input plugins. Fixed a strange header inclusion bug in libw32dll/wine. CVS patchset: 264 CVS date: 2001/07/10 21:07:55 --- src/input/input_rtp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input/input_rtp.c') diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c index b69eeee03..d46ba2058 100644 --- a/src/input/input_rtp.c +++ b/src/input/input_rtp.c @@ -460,15 +460,15 @@ input_plugin_t *init_input_plugin (int iface, config_values_t *config) { } - this = (rtp_input_plugin_t *) malloc (sizeof (rtp_input_plugin_t)); + this = (rtp_input_plugin_t *) xmalloc(sizeof(rtp_input_plugin_t)); for (bufn = 0; bufn < N_BUFFERS; bufn++) { - input_buffer_t *buf = malloc(sizeof(input_buffer_t)); + input_buffer_t *buf = xmalloc(sizeof(input_buffer_t)); if (!buf) { fprintf(stderr, "unable to allocate input buffer.\n"); exit(1); } - buf->buf = malloc(IBUFFER_SIZE); + buf->buf = xmalloc(IBUFFER_SIZE); if (!buf->buf) { fprintf(stderr, "unable to allocate input buffer.\n"); exit(1); -- cgit v1.2.3