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



commit 821945adaa7974b4eaa50bfba01e1f4401ccb75d
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 30 14:21:05 2017 +0100

    Fix a memory leak in camel_imapx_server_append_message_sync()

 src/camel/providers/imapx/camel-imapx-server.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-server.c b/src/camel/providers/imapx/camel-imapx-server.c
index 898403d..e2ed81a 100644
--- a/src/camel/providers/imapx/camel-imapx-server.c
+++ b/src/camel/providers/imapx/camel-imapx-server.c
@@ -4727,6 +4727,7 @@ camel_imapx_server_append_message_sync (CamelIMAPXServer *is,
                g_object_unref (folder);
        }
 
+       g_clear_object (&info);
        g_free (path);
 
        return success;


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