fclose(fp);
g_hash_table_thaw(cache->msgnum_table);
- if(error) {
- msgcache_destroy(cache);
- return NULL;
- }
-
if (conv != NULL) {
if (conv->free != NULL)
conv->free(conv);
g_free(conv);
}
+ if(error) {
+ msgcache_destroy(cache);
+ return NULL;
+ }
+
cache->last_access = time(NULL);
debug_print("done. (%d items read)\n", g_hash_table_size(cache->msgnum_table));