summaryrefslogtreecommitdiff
path: root/src/input/pnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/pnm.c')
-rw-r--r--src/input/pnm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/pnm.c b/src/input/pnm.c
index bf24e5f8f..1bbc93fb6 100644
--- a/src/input/pnm.c
+++ b/src/input/pnm.c
@@ -712,6 +712,7 @@ pnm_t *pnm_connect(xine_stream_t *stream, const char *mrl) {
if (strncmp(mrl,"pnm://",6))
{
+ free (mrl_ptr);
return NULL;
}