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 f44b7dcaa..d07d35c7e 100644
--- a/src/input/pnm.c
+++ b/src/input/pnm.c
@@ -714,6 +714,7 @@ pnm_t *pnm_connect(xine_stream_t *stream, const char *mrl) {
if (strncmp(mrl,"pnm://",6))
{
+ free (mrl_ptr);
return NULL;
}