summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2011-10-10 12:19:29 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2011-10-10 12:19:29 +0300
commit9f98a221ca21ceef6444a8b787989d7062a4b18d (patch)
tree48c859df5b346d7f14c2e9e570baf65574ba42d7 /src
parentee4144e7ad4916a35960f78fd37fa624199dc47c (diff)
downloadxine-lib-9f98a221ca21ceef6444a8b787989d7062a4b18d.tar.gz
xine-lib-9f98a221ca21ceef6444a8b787989d7062a4b18d.tar.bz2
fixed leak
Diffstat (limited to 'src')
-rw-r--r--src/libreal/real_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libreal/real_common.c b/src/libreal/real_common.c
index 10e4b61b9..a22abf789 100644
--- a/src/libreal/real_common.c
+++ b/src/libreal/real_common.c
@@ -175,6 +175,8 @@ void *_x_real_codec_open(xine_stream_t *const stream, const char *const path,
xprintf (stream->xine, XINE_VERBOSITY_DEBUG,
LOG_MODULE ": error loading %s: %s\n", codecpath, dlerror());
+
+ free(codecpath);
}
_x_message(stream, XINE_MSG_LIBRARY_LOAD_ERROR, codec_name, NULL);