From 193acf73e51b24ccca8048ebb6aaec2971594268 Mon Sep 17 00:00:00 2001 From: "cebka@mailsupport.rambler.ru" Date: Tue, 23 Sep 2008 11:47:56 +0400 Subject: * Small updates to memory pool library - fix cases when new chunk is allocated - add memory pool allocator statistics - let it work in multi-threaded environment - add strdup function for convinience * Use memory pool allocator more widely to avoid memory leaks in future and optimize performance * Task pool chunk size is now pre-defined constant (16 Kb currently) --- plugins/surbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/surbl.c b/plugins/surbl.c index b163a4f2f..c8a545ed1 100644 --- a/plugins/surbl.c +++ b/plugins/surbl.c @@ -462,7 +462,7 @@ redirector_callback (int fd, short what, void *arg) } if (*p == '\0') { msg_info ("redirector_callback: got reply from redirector: '%s' -> '%s'", struri (param->url), c); - parse_uri (param->url, c); + parse_uri (param->url, c, param->task->task_pool); register_memcached_call (param->url, param->task); param->task->save.saved ++; } -- cgit v1.2.3