summaryrefslogtreecommitdiffstats
path: root/tcpclt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpclt.c')
-rw-r--r--tcpclt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpclt.c b/tcpclt.c
index 35daccc..3a76e47 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)