projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: cleanup malloc calls
[collectd.git]
/
src
/
target_notification.c
diff --git
a/src/target_notification.c
b/src/target_notification.c
index
14fb541
..
d850a68
100644
(file)
--- a/
src/target_notification.c
+++ b/
src/target_notification.c
@@
-126,7
+126,7
@@
static int tn_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
int status;
int i;
- data =
(tn_data_t *)
malloc (sizeof (*data));
+ data = malloc (sizeof (*data));
if (data == NULL)
{
ERROR ("tn_create: malloc failed.");