aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/shell.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-08 01:08:07 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-08 01:08:07 +0000
commitb1d1223551baa57174020af62c58016deca90096 (patch)
treea410c61c234de25400a0efa96a6f21c8f29e15d8 /hardinfo2/shell.c
parentf11c77e39f595fda18aaa7035ee6e1f032cc6039 (diff)
Today's last commit. Yarr.
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r--hardinfo2/shell.c11
1 files changed, 11 insertions, 0 deletions
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 */