projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
amqp: plug leak on realloc failure
[collectd.git]
/
src
/
oracle.c
diff --git
a/src/oracle.c
b/src/oracle.c
index
55139dd
..
cb9b3db
100644
(file)
--- a/
src/oracle.c
+++ b/
src/oracle.c
@@
-299,7
+299,7
@@
static int o_config_add_database (oconfig_item_t *ci) /* {{{ */
{
o_database_t **temp;
- temp =
(o_database_t **)
realloc (databases,
+ temp = realloc (databases,
sizeof (*databases) * (databases_num + 1));
if (temp == NULL)
{