aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3/camel-pop3-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/pop3/camel-pop3-folder.c')
-rw-r--r--camel/providers/pop3/camel-pop3-folder.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c
index 27fa98cfa1..f15b20dcb4 100644
--- a/camel/providers/pop3/camel-pop3-folder.c
+++ b/camel/providers/pop3/camel-pop3-folder.c
@@ -288,8 +288,10 @@ pop3_refresh_info (CamelFolder *folder, CamelException *ex)
}
/* TODO: check every id has a uid & commands returned OK too? */
-
+
/* Free any commands we created along the way */
+ camel_pop3_engine_command_free (pop3_store->engine, pcl);
+
if (pop3_store->engine->capa & CAMEL_POP3_CAP_UIDL) {
camel_pop3_engine_command_free(pop3_store->engine, pcu);
} else {
@@ -301,7 +303,7 @@ pop3_refresh_info (CamelFolder *folder, CamelException *ex)
}
}
}
-
+
camel_operation_end (NULL);
return;
}