1
0
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:
Nikolas Garofil 2010-02-16 13:27:49 +01:00
parent a6debedc93
commit 247c62c5d8

View File

@ -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;