1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Fixed memory leak on TCP's options.

This commit is contained in:
Matias Fontanini
2011-09-07 09:52:23 -03:00
parent 201d4b5daf
commit a216cf8401
2 changed files with 44 additions and 32 deletions

View File

@@ -368,6 +368,8 @@ namespace Tins {
static const uint16_t DEFAULT_WINDOW;
void copy_fields(const TCP *other);
void cleanup();
/** \brief Serialices this TCP PDU.
* \param buffer The buffer in which the PDU will be serialized.
* \param total_sz The size available in the buffer.