diff options
author | Dan Winship <danw@src.gnome.org> | 2000-12-02 04:20:27 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-12-02 04:20:27 +0800 |
commit | 4f4e741d46da50b1a81b3d28ca38ea3c661cb94d (patch) | |
tree | 751a3604b3aace9c64ff34b276e8cd3dd66caa8b /mail | |
parent | 06408727b6352640db685cc9ad1e7c3fb9207c9f (diff) | |
download | gsoc2013-evolution-4f4e741d46da50b1a81b3d28ca38ea3c661cb94d.tar gsoc2013-evolution-4f4e741d46da50b1a81b3d28ca38ea3c661cb94d.tar.gz gsoc2013-evolution-4f4e741d46da50b1a81b3d28ca38ea3c661cb94d.tar.bz2 gsoc2013-evolution-4f4e741d46da50b1a81b3d28ca38ea3c661cb94d.tar.lz gsoc2013-evolution-4f4e741d46da50b1a81b3d28ca38ea3c661cb94d.tar.xz gsoc2013-evolution-4f4e741d46da50b1a81b3d28ca38ea3c661cb94d.tar.zst gsoc2013-evolution-4f4e741d46da50b1a81b3d28ca38ea3c661cb94d.zip |
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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/component-factory.c | 3 |
1 files changed, 2 insertions, 1 deletions
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)); } } |