コード例 #1
0
ファイル: sensors.c プロジェクト: Whissi/collectd
static int sensors_shutdown (void)
{
	sensors_free_features ();
	ignorelist_free (sensor_list);

	return (0);
} /* int sensors_shutdown */
コード例 #2
0
ファイル: virt.c プロジェクト: 4thAce/collectd
static int
lv_shutdown (void)
{
    free_block_devices ();
    free_interface_devices ();
    free_domains ();

    if (conn != NULL)
        virConnectClose (conn);
    conn = NULL;

    ignorelist_free (il_domains);
    il_domains = NULL;
    ignorelist_free (il_block_devices);
    il_block_devices = NULL;
    ignorelist_free (il_interface_devices);
    il_interface_devices = NULL;

    return 0;
}
コード例 #3
0
ファイル: thermal.c プロジェクト: johnl/collectd
static int thermal_shutdown (void)
{
	ignorelist_free (device_list);

	return 0;
}