summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tcpclt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpclt.c b/tcpclt.c
index 35daccc9..3a76e47d 100644
--- a/tcpclt.c
+++ b/tcpclt.c
@@ -398,7 +398,8 @@ tcpcltConstructFinalize(tcpclt_t __attribute__((unused)) *pThis)
/* destructor for the tcpclt object */
BEGINobjDestruct(tcpclt) /* be sure to specify the object type also in END and CODESTART macros! */
CODESTARTobjDestruct(tcpclt)
-
+ if(pThis->prevMsg != NULL)
+ free(pThis->prevMsg);
ENDobjDestruct(tcpclt)