Changeset b8fd951 in mainline for uspace/lib/ata/src/ata.c


Ignore:
Timestamp:
2025-01-17T10:32:07Z (3 weeks ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
41dcabc
Parents:
e0e2264
git-author:
Miroslav Cimerman <70661600+mcimerman@…> (2025-01-17 10:32:07)
git-committer:
GitHub <noreply@…> (2025-01-17 10:32:07)
Message:

ata_channel_destroy(): free the channel (#237)

File:
1 edited

Legend:

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

    re0e2264 rb8fd951  
    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.