projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cea744
)
processes plugin: plug leak on error
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Dec 2015 22:17:13 +0000
(23:17 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Dec 2015 22:17:13 +0000
(23:17 +0100)
CID #38004
src/processes.c
patch
|
blob
|
history
diff --git
a/src/processes.c
b/src/processes.c
index
4f98c01
..
63d22fc
100644
(file)
--- a/
src/processes.c
+++ b/
src/processes.c
@@
-288,6
+288,7
@@
static void ps_list_register (const char *name, const char *regexp)
{
DEBUG ("ProcessMatch: compiling the regular expression \"%s\" failed.", regexp);
sfree(new->re);
+ sfree (new);
return;
}
}