summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 045cc98)
raw | patch | inline | side by side (parent: 045cc98)
author | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Mon, 8 Jun 2015 19:31:38 +0000 (21:31 +0200) | ||
committer | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Mon, 8 Jun 2015 19:31:38 +0000 (21:31 +0200) |
src/daemon/plugin.c | patch | blob | history |
diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c
index 500b97c6beefd74b812567c1e780a4d0539994ae..ea9d2e932aa0ba8accd9f7b74972761982c80a5f 100644 (file)
--- a/src/daemon/plugin.c
+++ b/src/daemon/plugin.c
{
ERROR ("plugin_register_flush: malloc failed.");
sfree(flush_name);
- plugin_unregister (list_flush, name);
return (-1);
}
ERROR ("plugin_register_flush: strdup failed.");
sfree(cb);
sfree(flush_name);
- plugin_unregister (list_flush, name);
return (-1);
}
cb->timeout = ctx.flush_timeout;
{
sfree(cb->name);
sfree(cb);
- plugin_unregister (list_flush, name);
return status;
}
}