Code

plugin.c: fix potential null pointer dereference
[collectd.git] / src / battery.c
index b87739ac7d03affe2f20047d161f77b2b2d85001..0350a9eb1dae3b84bffdf84b6ebf2b33a27e48ed 100644 (file)
@@ -341,7 +341,7 @@ static void get_via_generic_iokit (double *ret_capacity_full, /* {{{ */
                                *ret_voltage = temp_double / 1000.0;
                        }
                }
-               
+
                CFRelease (bat_root_dict);
        }