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:
parent
e9fcca035b
commit
a9ecfbaae5
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user