event: don't leak event description
https://bugzilla.gnome.org/show_bug.cgi?id=781400
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
5396b946ad
commit
3be142a207
@@ -992,6 +992,7 @@ gcal_event_set_description (GcalEvent *self,
|
||||
ECalComponentText text_component;
|
||||
GSList list;
|
||||
|
||||
g_clear_pointer (&self->description, g_free);
|
||||
self->description = g_strdup (description);
|
||||
|
||||
text_component.value = description;
|
||||
|
||||
Reference in New Issue
Block a user