diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c index 1c74570ee0..8d7beeeeb0 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c @@ -805,7 +805,8 @@ int tport_capt_msg_hepv3 (tport_t const *self, msg_t *msg, size_t n, buflen +=len; n -= len; } - + + free(hg); return buflen; done: