manager: initialize value
Avoids calling g_free on uninitialized memory, which results in a nasty segfault.
This commit is contained in:
@@ -440,6 +440,7 @@ on_event_created (GObject *source_object,
|
||||
|
||||
data = (AsyncOpsData*) user_data;
|
||||
client = E_CAL_CLIENT (source_object);
|
||||
new_uid = NULL;
|
||||
error = NULL;
|
||||
|
||||
if (!e_cal_client_create_object_finish (client, result, &new_uid, &error))
|
||||
|
||||
Reference in New Issue
Block a user