From 41e808deca2ad8654b6f8528ae3492013951fcbd Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 23 Apr 2003 01:34:03 +0000 Subject: ** Should fix #41629, #41448, et al. 2003-04-22 Not Zed ** Should fix #41629, #41448, et al. * tests/folder/test10.c: a new torture test for object bag creation/unreffing. * camel-url.c (camel_url_copy): new function to copy a url. * camel-object.c (camel_object_bag_new): add arguments for key copy and key free functions. Fixed all callers. (camel_object_bag_destroy): fix a memleak, free the bag key. (camel_object_bag_get, camel_object_bag_reserve) (camel_object_bag_abort, save_bag, save_object): Make the key a void type, rather than char *. (camel_object_bag_add): As above, and also copy the key. (camel_object_bag_remove_unlocked): free the key using bag->free_key. * camel-session.c (register_provider) (camel_session_destroy_provider, get_service): Changed to use an object bag instead of a hash table for the service 'cache'. (service_cache_remove): Removed, no longer required. svn path=/trunk/; revision=20930 --- camel/ChangeLog | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index 07da3eecbb..4bcdbbec02 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,27 @@ +2003-04-22 Not Zed + + ** Should fix #41629, #41448, et al. + + * tests/folder/test10.c: a new torture test for object bag + creation/unreffing. + + * camel-url.c (camel_url_copy): new function to copy a url. + + * camel-object.c (camel_object_bag_new): add arguments for key + copy and key free functions. Fixed all callers. + (camel_object_bag_destroy): fix a memleak, free the bag key. + (camel_object_bag_get, camel_object_bag_reserve) + (camel_object_bag_abort, save_bag, save_object): Make the key a + void type, rather than char *. + (camel_object_bag_add): As above, and also copy the key. + (camel_object_bag_remove_unlocked): free the key using + bag->free_key. + + * camel-session.c (register_provider) + (camel_session_destroy_provider, get_service): Changed to use an + object bag instead of a hash table for the service 'cache'. + (service_cache_remove): Removed, no longer required. + 2003-04-21 Jeffrey Stedfast * camel-gpg-context.c (gpg_ctx_parse_status): Don't set seen_eof1 -- cgit v1.2.3