Re: [evolution-patches] patch for re-adding 'Make this occurrence movable' menu item in calendar view



On Mon, 2004-08-09 at 11:31 +0000, Rodrigo Moya wrote:
> This menu item was removed by mistake some time ago. The string is
> already in the .po files, so this doesnt break string freeze.

+       if (!e_cal_create_object (event->comp_data->client,
e_cal_component_get_icalcomponent (new_comp), &new_uid, NULL))
+               g_message ("e_day_view_on_unrecur_appointment(): Could
not update the object!");
+
+       g_free (new_uid);

If there is an error, won't this potentially free new_uid when it points
to garbage?

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]