Commit d1fe2340 authored by 's avatar

fixed bug #483 - semaphore not deleted in the BUCKET function

git-svn-id: file:///home/svn/mapi/trunk@1390 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 9173598e
......@@ -229,7 +229,11 @@ static int bucket_client_init(MAPI_UNUSED mapidflib_function_instance_t *instanc
}
static int bucket_cleanup(mapidflib_function_instance_t *instance) {
struct bucket_ringbuffer* rbuf;
rbuf = (struct bucket_ringbuffer*)instance->result.data;
fhlp_free_semaphore(&rbuf->semaphore);
free(instance->internal_data);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment