manager: initialize value

Avoids calling g_free on uninitialized memory,
which results in a nasty segfault.
This commit is contained in:
Georges Basile Stavracas Neto
2015-07-15 21:18:52 -03:00
parent 72c2988ff3
commit 10e340c20f
+1
View File
@@ -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))