FS-9656 Coverity 1364971: resolve memory leak in new HEPv3 logging
This commit is contained in:
parent
f432761072
commit
15a7156230
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue