diff --git a/src/ical.cc b/src/ical.cc index c8b951e2..0f8d77da 100644 --- a/src/ical.cc +++ b/src/ical.cc @@ -154,6 +154,7 @@ void parse_ical_args(struct text_object *obj, const char *arg, opaque->comps = allc; opaque->num = num; obj->data.opaque = opaque; + free(opaque); } void print_ical(struct text_object *obj, char *p, unsigned int p_max_size) {