From: Fabio M. Di Nitto Date: Mon, 25 Oct 2010 11:31:17 +0000 (+0200) Subject: vty: free memory X-Git-Tag: v0.8~1159 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=678ed87535314c2137b6d08bb7305ce47c4b723c;p=mirror_kronosnet.git vty: free memory Signed-off-by: Fabio M. Di Nitto --- diff --git a/vty.c b/vty.c index 8d9cd29..276c002 100644 --- a/vty.c +++ b/vty.c @@ -63,6 +63,8 @@ static void *vty_accept_thread(void *arg) log_info("User %s connected from %s (%s)", vty->username, src_ip[0], src_ip[1]); } + addrtostr_free(src_ip); + out_clean: pthread_mutex_lock(&knet_vty_mutex); vty->active = 0;