mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix: double free bug on MacOS (thanks @drandreas)
This commit is contained in:
parent
6176103023
commit
c4b3edef89
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ __attribute__((force_align_arg_pointer))
|
|||
|
||||
// when this reader thread dies, we close the serial port.
|
||||
uart_close(sp);
|
||||
sp = NULL;
|
||||
|
||||
pthread_exit(NULL);
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue