index 7145e9d2dc45c387fade499c992428286ce2efac..b8bbbfe63c29fb638f5ceb5ede65f73b83126751 100644 (file)
long int count;
sdb_collectd_state_t state = SDB_COLLECTD_STATE_INIT;
- sdb_object_wrapper_t state_obj = SDB_OBJECT_WRAPPER_STATIC(&state,
- /* destructor = */ NULL);
+ sdb_object_wrapper_t state_obj = SDB_OBJECT_WRAPPER_STATIC(&state);
if (! user_data)
return -1;