Fixed restoration of the panel divider position.
[psensor.git] / src / lib / hdd_atasmart.c
index 3c23509..402c92e 100644 (file)
@@ -172,6 +172,9 @@ void atasmart_psensor_list_update(struct psensor **sensors)
        double c;
        SkDisk *disk;
 
+       if (!sensors)
+               return;
+
        cur = sensors;
        while (*cur) {
                s = *cur;