Fixed sync manager freeing bug coming up in r833.

This commit is contained in:
Florian Pose 2007-03-07 15:29:02 +00:00
parent cea235a427
commit 4d79363e75
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}