1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +00:00

free(3) strdup(3)'ed templates array

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
This commit is contained in:
Nikos Ntarmos 2009-05-28 16:41:48 +03:00 committed by Brenden Matthews
parent a8300acbc5
commit dc2a8e1de8

View File

@ -6944,6 +6944,7 @@ static void reload_config(void)
static void clean_up(void)
{
int i;
timed_thread_destroy_registered_threads();
if (info.cpu_usage) {
@ -6972,6 +6973,12 @@ static void clean_up(void)
XFreeGC(display, window.gc);
free_fonts();
for (i = 0; i < 10; i ++) {
if (template[i]) {
free(template[i]);
template[i] = NULL;
}
}
}
#endif /* X11 */