[evolution-data-server] Fix a memory leak in imapx_untagged_lsub()



commit 4580f4da354e0b677cc036bf7f8a6f7e4eecac0a
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 20 14:32:45 2014 +0100

    Fix a memory leak in imapx_untagged_lsub()
    
    Forgotten unref of a 'response' variable.

 camel/providers/imapx/camel-imapx-server.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 8a867ec..14c80f6 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2547,6 +2547,7 @@ imapx_untagged_lsub (CamelIMAPXServer *is,
                g_signal_emit (is, signals[MAILBOX_UPDATED], 0, mailbox);
 
        g_clear_object (&mailbox);
+       g_clear_object (&response);
 
        return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]