Explorar el Código

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

Krzysztof Haładyn (krzys_h) hace 3 años
padre
commit
5134f44c09
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      lib/nfc/helpers/reader_analyzer.c

+ 1 - 0
lib/nfc/helpers/reader_analyzer.c

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