fixed small oopsie

This commit is contained in:
IonutParau 2025-07-01 22:53:50 +02:00
parent fa54ed843d
commit 786c2e8014
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
void nn_drive_destroy(void *_, nn_component *component, nn_drive *drive) {
if(!nn_decRef(&drive->refc)) return;
if(drive->deinit == NULL) {
if(drive->deinit != NULL) {
drive->deinit(component, drive->userdata);
}
}

View File

@ -5,7 +5,7 @@
void nn_fs_destroy(void *_, nn_component *component, nn_filesystem *fs) {
if(!nn_decRef(&fs->refc)) return;
if(fs->deinit == NULL) {
if(fs->deinit != NULL) {
fs->deinit(component, fs->userdata);
}
}