[evolution-data-server/gnome-3-0] Bug 656490 - imapx: Memory leak of stream tokenbuf (cherry picked from commit 51ebadee128158e7d73dc8



commit 31ccf92c03f51ffa22ef8a713b4e971e38e2ef22
Author: David Woodhouse <David Woodhouse intel com>
Date:   Sun Aug 14 01:10:58 2011 +0100

    Bug 656490 - imapx: Memory leak of stream tokenbuf
    (cherry picked from commit 51ebadee128158e7d73dc8e29fd6e67ae229b7a0)

 camel/providers/imapx/camel-imapx-stream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-stream.c b/camel/providers/imapx/camel-imapx-stream.c
index c87a88f..88820e1 100644
--- a/camel/providers/imapx/camel-imapx-stream.c
+++ b/camel/providers/imapx/camel-imapx-stream.c
@@ -101,6 +101,7 @@ imapx_stream_finalize (GObject *object)
 	CamelIMAPXStream *stream = CAMEL_IMAPX_STREAM (object);
 
 	g_free (stream->buf);
+	g_free (stream->tokenbuf);
 
 	/* Chain up to parent's finalize() method. */
 	G_OBJECT_CLASS (camel_imapx_stream_parent_class)->finalize (object);



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