1
0
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:
Brenden Matthews 2009-07-13 15:21:25 -06:00
parent a975f9e364
commit 74c19cf8e4

View File

@ -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]");
}