summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);