Update faac_slh.c

free seed global value on decoder alloc
This commit is contained in:
r3df0xx 2022-04-28 12:58:24 +03:00
parent e3dd0dc03b
commit 7ee400182c

View file

@ -309,6 +309,7 @@ void* subghz_protocol_decoder_faac_slh_alloc(SubGhzEnvironment* environment) {
instance->base.protocol = &subghz_protocol_faac_slh; instance->base.protocol = &subghz_protocol_faac_slh;
instance->generic.protocol_name = instance->base.protocol->name; instance->generic.protocol_name = instance->base.protocol->name;
instance->keystore = subghz_environment_get_keystore(environment); instance->keystore = subghz_environment_get_keystore(environment);
seed_global = 0x0;
return instance; return instance;
} }