From 4f4e741d46da50b1a81b3d28ca38ea3c661cb94d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 1 Dec 2000 20:20:27 +0000 Subject: Unref the store regardless of whether or not we're using it, so we don't * component-factory.c (mail_load_storages): Unref the store regardless of whether or not we're using it, so we don't leak references to non-storage stores. svn path=/trunk/; revision=6759 --- mail/component-factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/component-factory.c') diff --git a/mail/component-factory.c b/mail/component-factory.c index b1f50f0a96..8ccfda4954 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -333,8 +333,9 @@ mail_load_storages (GNOME_Evolution_Shell corba_shell, GSList *sources) camel_exception_get_description (&ex)); camel_exception_clear (&ex); } - camel_object_unref (CAMEL_OBJECT (store)); } + + camel_object_unref (CAMEL_OBJECT (store)); } } -- cgit v1.2.3