Mercurial > dovecot > core-2.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
21670:4ce2e5f4dafc | 21671:b4dd0868ecc0 |
---|---|
258 fd_close_maybe_stdio(&client->fd_in, &client->fd_out); | 258 fd_close_maybe_stdio(&client->fd_in, &client->fd_out); |
259 if (client->fd_ctrl >= 0) | 259 if (client->fd_ctrl >= 0) |
260 net_disconnect(client->fd_ctrl); | 260 net_disconnect(client->fd_ctrl); |
261 | 261 |
262 if (client->service_user != NULL) | 262 if (client->service_user != NULL) |
263 mail_storage_service_user_free(&client->service_user); | 263 mail_storage_service_user_unref(&client->service_user); |
264 i_free(client->access_user); | 264 i_free(client->access_user); |
265 array_foreach_modifiable(&client->access_apps, app) | 265 array_foreach_modifiable(&client->access_apps, app) |
266 i_free(*app); | 266 i_free(*app); |
267 array_free(&client->access_apps); | 267 array_free(&client->access_apps); |
268 i_free(client); | 268 i_free(client); |