diff src/plugins/mail-crypt/doveadm-mail-crypt.c @ 21671:b4dd0868ecc0

global: Replace mail_storage_service_user_free() with _unref()
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 22 Feb 2017 13:30:00 +0200
parents be3236bce027
children 759962e70148
line wrap: on
line diff
--- a/src/plugins/mail-crypt/doveadm-mail-crypt.c	Wed Feb 22 13:28:43 2017 +0200
+++ b/src/plugins/mail-crypt/doveadm-mail-crypt.c	Wed Feb 22 13:30:00 2017 +0200
@@ -152,7 +152,7 @@
 	mail_storage_service_io_activate_user(dest_service_user);
 
 	mail_user_unref(&dest_user);
-	mail_storage_service_user_free(&dest_service_user);
+	mail_storage_service_user_unref(&dest_service_user);
 
 	if ((cur_ioloop_ctx = io_loop_get_current_context(current_ioloop)) != NULL)
 		io_loop_context_deactivate(cur_ioloop_ctx);