]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Crashfix to previous commit.
authorTimo Sirainen <tss@iki.fi>
Thu, 14 May 2009 23:43:50 +0000 (19:43 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 14 May 2009 23:43:50 +0000 (19:43 -0400)
--HG--
branch : HEAD

src/imap-login/client.c
src/pop3-login/client.c

index 79c7e780ee89890ea97023467040a7c339609c9c..8e1b9b15fc34e478c4081b890658793ec32e189d 100644 (file)
@@ -658,7 +658,7 @@ bool client_unref(struct imap_client *client)
 
        i_free(client->common.virtual_user);
        i_free(client->common.auth_mech_name);
-       i_free(client);
+       pool_unref(&client->common.pool);
        return FALSE;
 }
 
index 176a07249caaf91ea3a0cc227b6618033821e1a7..a954f2a50cbf1f40f88a1d112553a9fa1eb70c63 100644 (file)
@@ -454,7 +454,7 @@ bool client_unref(struct pop3_client *client)
        i_free(client->apop_challenge);
        i_free(client->common.virtual_user);
        i_free(client->common.auth_mech_name);
-       i_free(client);
+       pool_unref(&client->common.pool);
        return FALSE;
 }