[Commits] addritem.c 1.13.2.23 1.13.2.24

mones at claws-mail.org mones at claws-mail.org
Wed Sep 19 14:24:45 CEST 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv5768/src

Modified Files:
      Tag: gtk2
	addritem.c 
Log Message:
2012-09-19 [mones]	3.8.1cvs63

	* src/addritem.c
		Fix leak and follow function specification 

Index: addritem.c
===================================================================
RCS file: /home/claws-mail/claws/src/addritem.c,v
retrieving revision 1.13.2.23
retrieving revision 1.13.2.24
diff -u -d -r1.13.2.23 -r1.13.2.24
--- addritem.c	12 Sep 2012 09:23:11 -0000	1.13.2.23
+++ addritem.c	19 Sep 2012 12:24:43 -0000	1.13.2.24
@@ -630,7 +630,7 @@
 ItemGroup *addritem_copy_item_group( ItemGroup *item ) {
 	ItemGroup *itemNew;
 
-	itemNew = g_new0( ItemGroup, 1 );
+	itemNew = NULL;
 	if( item ) {
 		itemNew = addritem_create_item_group();
 		ADDRITEM_NAME(itemNew) = g_strdup( ADDRITEM_NAME(item) );



More information about the Commits mailing list