Ticket #99: jabberd2-2.1.7-storage_db-fix.patch
| File jabberd2-2.1.7-storage_db-fix.patch, 1.0 KB (added by AlexSid, 17 months ago) |
|---|
-
storage/storage_db.c
old new 333 333 f = storage_filter(filter); 334 334 cfilter = pstrdup(xhash_pool(data->filters), filter); 335 335 xhash_put(data->filters, cfilter, (void *) f); 336 pool_cleanup(xhash_pool(data->filters), (pool_clean er) pool_free, f->p);336 pool_cleanup(xhash_pool(data->filters), (pool_cleanup_t) pool_free, f->p); 337 337 } 338 338 } 339 339 … … 393 393 f = storage_filter(filter); 394 394 cfilter = pstrdup(xhash_pool(data->filters), filter); 395 395 xhash_put(data->filters, cfilter, (void *) f); 396 pool_cleanup(xhash_pool(data->filters), (pool_clean er) pool_free, f->p);396 pool_cleanup(xhash_pool(data->filters), (pool_cleanup_t) pool_free, f->p); 397 397 } 398 398 } 399 399
