Index: uspace/drv/block/isa-ide/isa-ide.c
===================================================================
--- uspace/drv/block/isa-ide/isa-ide.c	(revision 443695ef37d4e47d223158ab3b07f84e2d5df943)
+++ uspace/drv/block/isa-ide/isa-ide.c	(revision ddfe233f65f4a86f6e6b48ef5065323f0f82c1d2)
@@ -163,4 +163,8 @@
 	return EOK;
 error:
+	if (chan->channel != NULL) {
+		(void) ata_channel_destroy(chan->channel);
+		chan->channel = NULL;
+	}
 	if (irq_inited)
 		isa_ide_fini_irq(chan);
