diff src/imap-urlauth/imap-urlauth-worker.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 22f45b987ad6
children cb108f786fb4
line wrap: on
line diff
--- a/src/imap-urlauth/imap-urlauth-worker.c	Wed Feb 22 13:28:43 2017 +0200
+++ b/src/imap-urlauth/imap-urlauth-worker.c	Wed Feb 22 13:30:00 2017 +0200
@@ -260,7 +260,7 @@
 		net_disconnect(client->fd_ctrl);
 
 	if (client->service_user != NULL)
-		mail_storage_service_user_free(&client->service_user);
+		mail_storage_service_user_unref(&client->service_user);
 	i_free(client->access_user);
 	array_foreach_modifiable(&client->access_apps, app)
 		i_free(*app);