Fixed sync manager freeing bug coming up in r833.
This commit is contained in:
parent
cea235a427
commit
4d79363e75
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue