projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
meta_data.c: check return value of md_entry_alloc
[collectd.git]
/
src
/
postgresql.c
diff --git
a/src/postgresql.c
b/src/postgresql.c
index
c240e54
..
e613662
100644
(file)
--- a/
src/postgresql.c
+++ b/
src/postgresql.c
@@
-1042,7
+1042,7
@@
static int config_query_param_add (udb_query_t *q, oconfig_item_t *ci)
data = udb_query_get_user_data (q);
if (NULL == data) {
- data = (c_psql_user_data_t *)
s
malloc (sizeof (*data));
+ data = (c_psql_user_data_t *) malloc (sizeof (*data));
if (NULL == data) {
log_err ("Out of memory.");
return -1;