Fix double-unref of the store.

2001-08-20  Peter Williams  <peterw@ximian.com>

	* mail-ops.c (remove_folder_get): Fix double-unref of the store.

svn path=/trunk/; revision=12326
This commit is contained in:
Peter Williams
2001-08-20 22:12:27 +00:00
committed by Peter Williams
parent a1a0a6bc4c
commit 036f4feb49
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2001-08-20 Peter Williams <peterw@ximian.com>
* mail-ops.c (remove_folder_get): Fix double-unref of the store.
2001-08-20 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (create_folder): Modify the url and set the

View File

@ -1480,7 +1480,7 @@ remove_folder_get (struct _mail_msg *mm)
store = camel_folder_get_parent_store (folder);
if (!store)
goto done;
return;
/* Delete every message in this folder, then expunge it */
uids = camel_folder_get_uids (folder);
@ -1496,10 +1496,6 @@ remove_folder_get (struct _mail_msg *mm)
/* Remove this folder from the folder cache */
mail_folder_cache_remove_folder (m->uri);
done:
if (store)
camel_object_unref (CAMEL_OBJECT (store));
}
static void