projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db45760
)
email plugin: fix check for result of malloc
author
Ruben Kerkhof
<ruben@tilaa.com>
Sat, 12 Dec 2015 11:24:41 +0000
(12:24 +0100)
committer
Ruben Kerkhof
<ruben@tilaa.com>
Sat, 12 Dec 2015 11:24:41 +0000
(12:24 +0100)
CID #38010
src/email.c
patch
|
blob
|
history
diff --git
a/src/email.c
b/src/email.c
index
0b140bf
..
4f5753c
100644
(file)
--- a/
src/email.c
+++ b/
src/email.c
@@
-532,7
+532,7
@@
static void *open_connection (void __attribute__((unused)) *arg)
}
connection = malloc (sizeof (*connection));
- if (connection
!
= NULL)
+ if (connection
=
= NULL)
{
close (remote);
continue;