summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-07-19 19:56:48 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-07-19 19:56:48 +0100
commitdec217438b63373fefd6f50c85664f57148efe50 (patch)
tree2b1f869f76704b3c3ffa8201dd57588492c68a2f /src/input
parent88682e14a4c89caa499fedad2a3faab316f72dda (diff)
downloadxine-lib-dec217438b63373fefd6f50c85664f57148efe50.tar.gz
xine-lib-dec217438b63373fefd6f50c85664f57148efe50.tar.bz2
Fix a few small memory leaks.
Diffstat (limited to 'src/input')
-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;
}