summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9bd7cf5)
raw | patch | inline | side by side (parent: 9bd7cf5)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 10 Apr 2010 10:15:00 +0000 (12:15 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 10 Apr 2010 10:15:00 +0000 (12:15 +0200) |
src/pinba.c | patch | blob | history |
diff --git a/src/pinba.c b/src/pinba.c
index ee790ff5382448672df52fb8979243e5e48fea36..9697cf277cd6d9e1cf84f21fc71c9d9cb586aca8 100644 (file)
--- a/src/pinba.c
+++ b/src/pinba.c
assert (ai_list != NULL);
s = malloc (sizeof (*s));
- if (s != NULL)
+ if (s == NULL)
{
freeaddrinfo (ai_list);
ERROR ("pinba plugin: malloc failed.");