fix tiny leak

This commit is contained in:
2025-10-26 17:38:39 +01:00
parent 2b3b135160
commit 6722f42e68

View File

@ -135,6 +135,7 @@ StoreDev *storedev_create(int32_t sdtype, char *name, void *extra) {
sd->sectorsize = 0; // lazy
} break;
default:
dlfree(sd);
spinlock_release(&STOREDEV_LIST.spinlock);
return NULL;
}