mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
oops
This commit is contained in:
parent
8888db956b
commit
ceab6df243
@ -7,7 +7,7 @@ nn_eepromControl nn_eeprom_getControl(nn_component *component, nn_eeprom *eeprom
|
|||||||
void nn_eeprom_destroy(void *_, nn_component *component, nn_eeprom *eeprom) {
|
void nn_eeprom_destroy(void *_, nn_component *component, nn_eeprom *eeprom) {
|
||||||
if(!nn_decRef(&eeprom->refc)) return;
|
if(!nn_decRef(&eeprom->refc)) return;
|
||||||
|
|
||||||
if(eeprom->deinit == NULL) {
|
if(eeprom->deinit != NULL) {
|
||||||
eeprom->deinit(component, eeprom->userdata);
|
eeprom->deinit(component, eeprom->userdata);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user