summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2013-11-07 10:27:32 +0200
committerPetri Hintukainen <phintuka@users.sourceforge.net>2013-11-07 10:27:32 +0200
commit17016099d151f87ca12c46dd7ef212a10451a2e2 (patch)
tree51889ededd9b683d43e0d7b081c09a5eb955a6f5
parentac6ab39407a287cf637dcd970ffa37721f8498d9 (diff)
downloadxine-lib-17016099d151f87ca12c46dd7ef212a10451a2e2.tar.gz
xine-lib-17016099d151f87ca12c46dd7ef212a10451a2e2.tar.bz2
fix _x_freep usage
-rw-r--r--src/combined/ffmpeg/demux_avformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/combined/ffmpeg/demux_avformat.c b/src/combined/ffmpeg/demux_avformat.c
index f5236765b..3958a4049 100644
--- a/src/combined/ffmpeg/demux_avformat.c
+++ b/src/combined/ffmpeg/demux_avformat.c
@@ -123,7 +123,7 @@ static void input_avformat_dispose (input_plugin_t *this_gen ) {
avformat_input_plugin_t *this = (avformat_input_plugin_t *) this_gen;
avformat_close_input(&this->fmt_ctx);
- _x_freep (this->mrl);
+ _x_freep (&this->mrl);
free (this_gen);
}
@@ -175,7 +175,7 @@ static input_plugin_t *input_avformat_get_instance (input_class_t *cls_gen, xine
return NULL;
}
- free(real_mrl);
+ _x_freep(&real_mrl);
/* create xine input plugin */