diff options
author | Danny Baumann <dannybaumann@web.de> | 2008-11-06 13:08:31 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2008-11-06 13:08:31 +0100 |
commit | 809e7eca6b10a5179c66ec1fc4786c69f865b2c5 (patch) | |
tree | f8413c7b9d350b42025009d74f3dd837e88d53e1 /src | |
parent | c50f4fee8948c09dd6550b133186151944ae116a (diff) |
Plug minor memory leak.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin.c | 2 |
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; } |