diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-08 01:08:07 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-08 01:08:07 +0000 |
commit | b1d1223551baa57174020af62c58016deca90096 (patch) | |
tree | a410c61c234de25400a0efa96a6f21c8f29e15d8 /hardinfo2/shell.c | |
parent | f11c77e39f595fda18aaa7035ee6e1f032cc6039 (diff) |
Today's last commit. Yarr.
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r-- | hardinfo2/shell.c | 11 |
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 */ |