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_set.c
diff --git
a/src/target_set.c
b/src/target_set.c
index
daeaf8b
..
a676a3d
100644
(file)
--- a/
src/target_set.c
+++ b/
src/target_set.c
@@
-87,7
+87,7
@@
static int ts_create (const oconfig_item_t *ci, void **user_data) /* {{{ */
int status;
int i;
- data =
(ts_data_t *)
malloc (sizeof (*data));
+ data = malloc (sizeof (*data));
if (data == NULL)
{
ERROR ("ts_create: malloc failed.");