Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_idx.c

    r1e4cada r593585df  
    531531        unused_initialize(u, dev_handle);
    532532        fibril_mutex_lock(&unused_lock);
    533         if (!unused_find(dev_handle, false))
     533        if (!unused_find(dev_handle, false)) {
    534534                list_append(&u->link, &unused_head);
    535         else
     535        } else {
     536                free(u);
    536537                rc = EEXIST;
     538        }
    537539        fibril_mutex_unlock(&unused_lock);
    538540        return rc;
Note: See TracChangeset for help on using the changeset viewer.