- MMS client: added missing socket release when connection was not opened

pull/179/head
Michael Zillgith 6 years ago
parent f5236f84fc
commit 0d5fa50947

@ -757,6 +757,8 @@ IsoClientConnection_destroy(IsoClientConnection self)
IsoClientConnection_close(self); IsoClientConnection_close(self);
} }
releaseSocket(self);
if (self->receiveBuf != NULL) if (self->receiveBuf != NULL)
GLOBAL_FREEMEM(self->receiveBuf); GLOBAL_FREEMEM(self->receiveBuf);
if (self->receiveBuffer != NULL) if (self->receiveBuffer != NULL)

Loading…
Cancel
Save