aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2')
-rw-r--r--hardinfo2/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c
index 8c4002b4..2b5e7f3e 100644
--- a/hardinfo2/shell.c
+++ b/hardinfo2/shell.c
@@ -1013,7 +1013,7 @@ module_selected_show_info(ShellModuleEntry * entry, gboolean reload)
ShellFieldUpdateSource *src = (ShellFieldUpdateSource *)sfusrc->data;
GSource *source;
- source = g_main_context_find_source_by_id(NULL, sfusrc->source_id);
+ source = g_main_context_find_source_by_id(NULL, src->source_id);
if (source) {
g_free(src->sfu->field_name);
g_free(src->sfu);