From b1d1223551baa57174020af62c58016deca90096 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Mon, 8 Jan 2007 01:08:07 +0000 Subject: Today's last commit. Yarr. --- hardinfo2/shell.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'hardinfo2/shell.c') diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index ad626ffa..3768d1fd 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -603,6 +603,17 @@ static gboolean update_field(gpointer data) return TRUE; } + if (update_sfusrc) { + GSList *sfu; + + for (sfu = update_sfusrc; sfu; sfu = sfu->next) { + g_free(sfu->data); + } + + g_slist_free(update_sfusrc); + update_sfusrc = NULL; + } + DEBUG("destroying ShellFieldUpdate for field %s", fu->field_name); /* otherwise, cleanup and destroy the timeout */ -- cgit v1.2.3