summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
40debf7)
gtk_list_store_remove (process_list->list_store, &iter);
gtk_list_store_remove (process_list->list_store, &iter);
- if(hashed_process_data == process_list->current_hash_data[process_info->cpu])
- process_list->current_hash_data[process_info->cpu] = NULL;
-
+ if(process_list->current_hash_data != NULL) {
+ if(hashed_process_data ==
+ process_list->current_hash_data[process_info->cpu])
+ process_list->current_hash_data[process_info->cpu] = NULL;
+ }
return TRUE; /* remove the element from the hash table */
}
return TRUE; /* remove the element from the hash table */
}