Changeset 9e7e1dc in mainline


Ignore:
Timestamp:
2025-01-16T13:15:03Z (33 hours ago)
Author:
Miroslav Cimerman <mc@…>
Children:
0b44848
Parents:
0d00e53
git-author:
Miroslav Cimerman <mc@…> (2024-11-10 18:44:56)
git-committer:
Miroslav Cimerman <mc@…> (2025-01-16 13:15:03)
Message:

ata_channel_destroy(): free the channel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ata/src/ata.c

    r0d00e53 r9e7e1dc  
    260260                if (rc != EOK) {
    261261                        ata_msg_error(chan, "Unable to remove device %d.", i);
    262                         break;
     262                        fibril_mutex_unlock(&chan->lock);
     263                        return rc;
    263264                }
    264265        }
     
    266267        ata_bd_fini_irq(chan);
    267268        fibril_mutex_unlock(&chan->lock);
     269        free(chan);
    268270
    269271        return rc;
Note: See TracChangeset for help on using the changeset viewer.