projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a975f9e
)
Fix minor $weather memleak.
author
Brenden Matthews
<brenden@rty.ca>
Mon, 13 Jul 2009 21:21:25 +0000
(15:21 -0600)
committer
Brenden Matthews
<brenden@rty.ca>
Mon, 13 Jul 2009 21:21:25 +0000
(15:21 -0600)
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
21a4531
..
72573b1
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-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
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]");
}
} else {
CRIT_ERR("weather needs arguments: <uri> <icao> <data_type> [interval in minutes]");
}