CVSROOT: /cvs/gnome Module name: evolution-data-server Changes by: fejj 06/07/06 15:43:47
Modified files: camel : ChangeLog camel-folder-summary.c camel-string-utils.c camel-string-utils.h Log message: 2006-07-06 Jeffrey Stedfast <[EMAIL PROTECTED]> * camel-string-utils.c (camel_pstring_add): New function that now holds the main logic of the old camel_pstring_strdup function. If 'own' is TRUE, re-use the memory if the string doesn't already exist and free it otherwise. If FALSE, strdup the value if it doesn't already exist. (camel_pstring_strdup): Calls camel_pstring_add() with 'own' as FALSE. * camel-folder-summary.c (message_info_new_from_header): Use camel_pstring_add instead of camel_pstring_strdup here to prevent unnecessary strdup/freeing. (message_info_load): Same. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=evolution-data-server&who=fejj&date=explicit&mindate=2006-07-06%2015:42&maxdate=2006-07-06%2015:44 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list