aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-05-24 12:26:34 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-05-24 12:26:34 +0800
commit179aec8eac14dd0dfba319b22e3c3a63138e3b5f (patch)
tree77330fd4f97faa09920e4639af090c1ab27442a7
parent9683200029907b50a902bb2dacb19ab1c50bda45 (diff)
downloadgsoc2013-evolution-179aec8eac14dd0dfba319b22e3c3a63138e3b5f.tar
gsoc2013-evolution-179aec8eac14dd0dfba319b22e3c3a63138e3b5f.tar.gz
gsoc2013-evolution-179aec8eac14dd0dfba319b22e3c3a63138e3b5f.tar.bz2
gsoc2013-evolution-179aec8eac14dd0dfba319b22e3c3a63138e3b5f.tar.lz
gsoc2013-evolution-179aec8eac14dd0dfba319b22e3c3a63138e3b5f.tar.xz
gsoc2013-evolution-179aec8eac14dd0dfba319b22e3c3a63138e3b5f.tar.zst
gsoc2013-evolution-179aec8eac14dd0dfba319b22e3c3a63138e3b5f.zip
Fixed a potential memory leak.
2005-05-24 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment.c (finalise): Fixed a potential memory leak. svn path=/trunk/; revision=29403
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-msg-composer-attachment.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index e31e66e2ad..304cd2fe39 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,4 +1,9 @@
-2005-05-23 Srininvasa Ragavan <sragavan@novell.com>
+2005-05-24 Srinivasa Ragavan <sragavan@novell.com>
+
+ * e-msg-composer-attachment.c (finalise): Fixed a potential memory
+ leak.
+
+2005-05-23 Srinivasa Ragavan <sragavan@novell.com>
* e-msg-composer-attachment-bar.c, e-msg-composer-attachment-bar.h,
e-msg-composer-attachment.c, e-msg-composer-attachment.h, e-msg-composer.c,
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c
index 1c88e7a68f..a279422b93 100644
--- a/composer/e-msg-composer-attachment.c
+++ b/composer/e-msg-composer-attachment.c
@@ -78,8 +78,6 @@ finalise(GObject *object)
camel_object_unref (attachment->body);
if (attachment->pixbuf_cache != NULL)
g_object_unref (attachment->pixbuf_cache);
-
- G_OBJECT_CLASS (parent_class)->finalize (object);
} else {
if (attachment->handle)
gnome_vfs_async_cancel(attachment->handle);
@@ -88,6 +86,8 @@ finalise(GObject *object)
if (attachment->description)
g_free (attachment->description);
}
+
+ G_OBJECT_CLASS (parent_class)->finalize (object);
}