summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24bfcb0)
raw | patch | inline | side by side (parent: 24bfcb0)
author | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Mon, 8 Jun 2015 19:21:44 +0000 (21:21 +0200) | ||
committer | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Mon, 8 Jun 2015 19:21:44 +0000 (21:21 +0200) |
src/daemon/plugin.c | patch | blob | history |
diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c
index 255cccc0e97e215aa72b5496dcdc33b9c91b698d..299a98096aacea948c5dde2f5de0b775e21ceb04 100644 (file)
--- a/src/daemon/plugin.c
+++ b/src/daemon/plugin.c
if (flush_name == NULL)
return (-1);
- cb = (flush_callback_t *)malloc(sizeof(flush_callback_t));
+ cb = malloc(sizeof(flush_callback_t));
if (cb == NULL)
{
ERROR ("plugin_register_flush: malloc failed.");