nfc: Fix crash when using debug PCAP trace (#2338)

This commit is contained in:
Krzysztof Haładyn (krzys_h) 2023-01-26 09:28:36 +01:00 committed by GitHub
parent 709fa633ff
commit 5134f44c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,7 @@ void reader_analyzer_stop(ReaderAnalyzer* instance) {
} }
if(instance->pcap) { if(instance->pcap) {
nfc_debug_pcap_free(instance->pcap); nfc_debug_pcap_free(instance->pcap);
instance->pcap = NULL;
} }
} }