X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpostgresql.c;h=8093eb1243a4a78f8dbd75027d8ae7b755cbc617;hb=8dfaf98cde62e42d4c245400c68ae9c825a2fe68;hp=e68fd3219aad4f439222114d5f8166e27fa06a51;hpb=e96afedbc67f8a508e37b73217c224aa5bd25f66;p=collectd.git diff --git a/src/postgresql.c b/src/postgresql.c index e68fd321..8093eb12 100644 --- 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 *) smalloc (sizeof (*data)); + data = (c_psql_user_data_t *) malloc (sizeof (*data)); if (NULL == data) { log_err ("Out of memory."); return -1;