diff --git a/master/slave.c b/master/slave.c index 5a70017354fb1d7f6cc767a0e8613be886757460..ea4a40ef997324c33fe1cc603f1a211e57ab19d3 100644 --- a/master/slave.c +++ b/master/slave.c @@ -258,7 +258,6 @@ void ec_slave_clear(struct kobject *kobj /**< kobject of the slave */) if (slave->sii_syncs) { for (i = 0; i < slave->sii_sync_count; i++) { ec_sync_clear(&slave->sii_syncs[i]); - kfree(&slave->sii_syncs[i]); } kfree(slave->sii_syncs); }