mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-28 13:00:45 +00:00
Fix another memleak in scroll
This commit is contained in:
parent
a6debedc93
commit
247c62c5d8
@ -82,6 +82,7 @@ void parse_scroll_arg(struct text_object *obj, const char *arg, void *free_at_cr
|
||||
sd->start = 0;
|
||||
obj->sub = (struct text_object *)malloc(sizeof(struct text_object));
|
||||
extract_variable_text_internal(obj->sub, sd->text);
|
||||
free(sd->text);
|
||||
|
||||
obj->data.opaque = sd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user