Don't free the hash table key if the folder wasn't found in the hash
authorDan Winship <danw@src.gnome.org>
Mon, 29 Oct 2001 18:31:40 +0000 (18:31 +0000)
committerDan Winship <danw@src.gnome.org>
Mon, 29 Oct 2001 18:31:40 +0000 (18:31 +0000)
commit1812d7df4bb4354f47625d196913ba3fd0b06c7c
tree0caa097d8408dfe249d5cc413073e242c8ad65ba
parentba1ade420b33acccd775064d2793b034ac2e8db4
Don't free the hash table key if the folder wasn't found in the hash

* providers/imap/camel-imap-store.c (unsubscribe_folder): Don't
free the hash table key if the folder wasn't found in the hash
table. I'm not sure where the bug is/was that made it possible to
add a folder to the tree after creating it failed, but now if that
happens, it won't crash if you try to delete it again. (#11492)
camel/ChangeLog
camel/providers/imap/camel-imap-store.c