Merge branch 'upstream-fixes' into upstream

This commit is contained in:
Jeff Garzik 2006-09-11 09:14:17 -04:00
commit 6b12a3d35f

View File

@ -377,8 +377,8 @@ dm9000_release_board(struct platform_device *pdev, struct board_info *db)
kfree(db->data_req);
}
if (db->addr_res != NULL) {
release_resource(db->addr_res);
if (db->addr_req != NULL) {
release_resource(db->addr_req);
kfree(db->addr_req);
}
}