summaryrefslogtreecommitdiff
path: root/tntd/rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tntd/rpc.c')
-rw-r--r--tntd/rpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tntd/rpc.c b/tntd/rpc.c
index 247d64e..c1ad10e 100644
--- a/tntd/rpc.c
+++ b/tntd/rpc.c
@@ -705,6 +705,7 @@ rpc_process_netstat(etp_msg_t msg, rpc_client_t rpc_client)
{
etp_error = etp_msg_add_ie(&msg, TNT_NETSTAT_ARRAY, array,
size * sizeof(struct tnt_sockstate));
+ free(array);
if (etp_error)
{