mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 00:58:36 +00:00
Fix minor $weather memleak.
This commit is contained in:
parent
a975f9e364
commit
74c19cf8e4
@ -2841,6 +2841,7 @@ static struct text_object *construct_text_object(const char *s,
|
||||
interval = 30;
|
||||
}
|
||||
obj->data.weather.interval = interval * 60; // convert to seconds
|
||||
free(icao);
|
||||
} else {
|
||||
CRIT_ERR("weather needs arguments: <uri> <icao> <data_type> [interval in minutes]");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user