1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

Free memory after use

This commit is contained in:
Mithil Poojary 2020-10-03 02:32:48 +05:30 committed by Brenden Matthews
parent e9fcca035b
commit a9ecfbaae5

View File

@ -154,6 +154,7 @@ void parse_ical_args(struct text_object *obj, const char *arg,
opaque->comps = allc; opaque->comps = allc;
opaque->num = num; opaque->num = num;
obj->data.opaque = opaque; obj->data.opaque = opaque;
free(opaque);
} }
void print_ical(struct text_object *obj, char *p, unsigned int p_max_size) { void print_ical(struct text_object *obj, char *p, unsigned int p_max_size) {