Ticket #6383: article-actions.c.2.diff
File article-actions.c.2.diff, 1.0 KB (added by LuisOrtiz@…, 19 years ago) |
---|
-
pan/article-actions.c
old new 252 252 g_return_val_if_fail (articles_are_valid(articles, qty), FALSE); 253 253 254 254 /* copy anything that's already cached, and make a list of those not cached */ 255 missing = g_new a(MessageIdentifier*, qty);255 missing = g_new (MessageIdentifier*, qty); 256 256 missing_qty = 0; 257 257 for (i=0; i<qty; ++i) 258 258 { … … 289 289 /* cleanup */ 290 290 for (i=0; i<missing_qty; ++i) 291 291 g_object_unref (missing[i]); 292 g_free (missing); 292 293 debug_exit ("article_copy_articles_to_folder"); 293 294 return TRUE; 294 295 } … … 428 429 { 429 430 int i; 430 431 Group * group; 431 const PString ** ids = g_new a(const PString*, article_qty);432 const PString ** ids = g_new (const PString*, article_qty); 432 433 MessageIdentifier ** mids; 433 434 434 435 /* remove the headers */ … … 447 448 for (i=0; i<article_qty; ++i) 448 449 g_object_unref (mids[i]); 449 450 g_free (mids); 451 g_free (ids); 450 452 } 451 453 452 454 debug_exit ("article_action_delete_articles");