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
/
oracle.c
diff --git
a/src/oracle.c
b/src/oracle.c
index
ab0812b
..
84d9ed4
100644
(file)
--- a/
src/oracle.c
+++ b/
src/oracle.c
@@
-198,7
+198,7
@@
static int o_config_add_database (oconfig_item_t *ci) /* {{{ */
return (-1);
}
- db =
(o_database_t *)
malloc (sizeof (*db));
+ db = malloc (sizeof (*db));
if (db == NULL)
{
ERROR ("oracle plugin: malloc failed.");