summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e211f8)
raw | patch | inline | side by side (parent: 3e211f8)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 10 Aug 2016 20:42:23 +0000 (22:42 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 10 Aug 2016 20:42:23 +0000 (22:42 +0200) |
src/daemon/common.c | patch | blob | history |
diff --git a/src/daemon/common.c b/src/daemon/common.c
index a522759cebf7437c6b4fb03e6698c156d2f6f86f..14503525d567cf2b33ba2008e4fdbe750f3a5d2e 100644 (file)
--- a/src/daemon/common.c
+++ b/src/daemon/common.c
if (cap_data == NULL)
{
ERROR("check_capability: calloc failed");
+ sfree(cap_header);
return (-1);
}