mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 10:51:54 +03:00
Add alutech table to enviroment alloc and free
This commit is contained in:
parent
c2997bb1fc
commit
4c7fa05bfe
@ -16,6 +16,7 @@ SubGhzEnvironment* subghz_environment_alloc() {
|
|||||||
instance->protocol_registry = NULL;
|
instance->protocol_registry = NULL;
|
||||||
instance->came_atomo_rainbow_table_file_name = NULL;
|
instance->came_atomo_rainbow_table_file_name = NULL;
|
||||||
instance->nice_flor_s_rainbow_table_file_name = NULL;
|
instance->nice_flor_s_rainbow_table_file_name = NULL;
|
||||||
|
instance->alutech_at_4n_rainbow_table_file_name = NULL;
|
||||||
|
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
@ -26,6 +27,7 @@ void subghz_environment_free(SubGhzEnvironment* instance) {
|
|||||||
instance->protocol_registry = NULL;
|
instance->protocol_registry = NULL;
|
||||||
instance->came_atomo_rainbow_table_file_name = NULL;
|
instance->came_atomo_rainbow_table_file_name = NULL;
|
||||||
instance->nice_flor_s_rainbow_table_file_name = NULL;
|
instance->nice_flor_s_rainbow_table_file_name = NULL;
|
||||||
|
instance->alutech_at_4n_rainbow_table_file_name = NULL;
|
||||||
subghz_keystore_free(instance->keystore);
|
subghz_keystore_free(instance->keystore);
|
||||||
|
|
||||||
free(instance);
|
free(instance);
|
||||||
|
Loading…
Reference in New Issue
Block a user