Displaying 2 results from an estimated 2 matches for "quota_deinit".
2010 Jun 22
1
quota_set leak
...leaks 2KB "quota settings" pools. Here is a patch to plug this leak, assuming you intended the caller of quota_init to retain ownership of the quota_set. If on the other hand you intended for quota_init to assume ownership of the quota_set, then the quota_settings_deinit call belongs in quota_deinit.
--- a/src/plugins/quota/quota-storage.c (beta6)
+++ b/src/plugins/quota/quota-storage.c (patched)
@@ -427,6 +427,7 @@
{
struct quota_user *quser = QUOTA_USER_CONTEXT(user);
+ quota_settings_deinit(&quser->quota->set);
quota_deinit(&quser->quota);
quser->module_ctx.sup...
2016 Sep 03
2
doveadm quota recalc returns a Segmentation fault
...=0x1006b1930) at
ioloop.c:612
No locals.
#1 0x00007ffff73ed3e8 in io_loop_run (ioloop=0x6b1930) at ioloop.c:588
__FUNCTION__ = "io_loop_run"
#2 0x00007ffff73ac45c in client_dict_wait (_dict=0x6b15f0) at
dict-client.c:653
dict = 0x6b15f0
#3 0x00007ffff636f85f in dict_quota_deinit (_root=<value optimized
out>) at quota-dict.c:106
root = 0x6b12f0
__FUNCTION__ = "dict_quota_deinit"
#4 0x00007ffff636d326 in quota_root_deinit (root=0x6b12f0) at
quota.c:279
pool = 0x6b1400
#5 0x00007ffff636d381 in quota_deinit (_quota=0x6aeae8) at qu...