drivers: transponder: don't free pre-allocated memory

This commit is contained in:
Peter van der Perk 2024-03-31 21:18:49 +02:00 committed by Daniel Agar
parent 0c5b25efc5
commit 650ea6ef4a

View File

@ -52,8 +52,6 @@ SagetechMXS::SagetechMXS(const char *port) :
SagetechMXS::~SagetechMXS()
{
free((char *)_port);
if (!(_fd < 0)) {
close(_fd);
}