Displaying 3 results from an estimated 3 matches for "mail_search_args_unref".
2012 Sep 05
2
Memory leak by getting the virtual size of a IMAP folder
Hi everyone,
I am writing a dovecot statistic plugin, which calls the
'mailbox_get_metadata' function with MAILBOX_METADATA_VIRTUAL_SIZE as
the 2nd parameter.
enum mailbox_status_items metadata_items = MAILBOX_METADATA_VIRTUAL_SIZE;
struct mailbox_metadata metadata;
mailbox_get_metadata(mailbox, metadata_items, &metadata);
but Valgrind finds a memory leak when this function is
2019 Jul 18
0
Panic alert
...ending an email in my box.? Below is the backtrace:
/usr/lib64/dovecot/libdovecot.so.0(+0x9f3de) [0x7fa90b5543de] -> /usr/lib64/dovecot/libdovecot.so.0(+0x9f4be) [0x7fa90b5544be] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7fa90b4e577c] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_search_args_unref+0xa2) [0x7fa90b827c82] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_search_result_free+0x7a) [0x7fa90b84029a] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_thread_init+0x128) [0x7fa90b8b2e88] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_search_init+0x471) [0x7f...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...nit(cfctx->fetch_ctx) < 0)
+ cfctx->fetch_ctx->failed = TRUE;
+ if (cfctx->fetch_ctx->failed) {
+ if (error == NULL && !toobig)
+ error = "message fetch failed";
+ }
+ cfctx->fetch_ctx->urlfetch = FALSE;
+ }
+ if (cfctx->search_args != NULL)
+ mail_search_args_unref(&cfctx->search_args);
+ if (cfctx->parser != NULL)
+ imap_parser_destroy(&cfctx->parser);
+ if (cfctx->input != NULL)
+ i_stream_unref(&cfctx->input);
+ if (cfctx->box != NULL)
+ mailbox_close(&cfctx->box);
+ if (cfctx->client_output != NULL)
+ cfctx->...