summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-11-06 13:08:31 +0100
committerDanny Baumann <dannybaumann@web.de>2008-11-06 13:08:31 +0100
commit809e7eca6b10a5179c66ec1fc4786c69f865b2c5 (patch)
treef8413c7b9d350b42025009d74f3dd837e88d53e1 /src
parentc50f4fee8948c09dd6550b133186151944ae116a (diff)
Plug minor memory leak.
Diffstat (limited to 'src')
-rw-r--r--src/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 206351dd..5720535e 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -577,6 +577,8 @@ loadPlugin (const char *name)
compLogMessage ("core", CompLogLevelError,
"Couldn't load plugin '%s'", name);
+ free (p);
+
return 0;
}