Displaying 1 result from an estimated 1 matches for "user_uri".
2007 Dec 10
1
dict: Leaked a t_pop() call in I/O handler
...ush();
entry = hash_lookup(cache->dicts,
t_strdup_printf("%s\t%s", username, uri));
i_assert(entry != NULL && entry->refcount > 0);
if (--entry->refcount == 0) {
hash_remove(cache->dicts, entry->user_uri);
dict_deinit(&entry->dict);
i_free(entry->user_uri);
i_free(entry);
}
}
---- src/dict/dict-cache.c ----
Notice the "t_push()" call there. So calling t_pop() somewhere before
the end of the function, makes dovecot work lik...