summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-24 22:17:04 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-24 22:17:04 +0800
commit8008b595d376062556bc3e86f6e0f2ef631d7cf5 (patch)
tree42828ee41ae11514e3de9f4288669cb27285fad7 /svr-session.c
parent21bed0d21aa765c7796d977fcb36902399e97242 (diff)
Some additional cleanup functions
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/svr-session.c b/svr-session.c
index 2b8a956..8485905 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -83,8 +83,9 @@ svr_session_cleanup(void) {
svr_pubkey_options_cleanup();
m_free(svr_ses.addrstring);
- m_free(svr_ses.childpids);
m_free(svr_ses.remotehost);
+ m_free(svr_ses.childpids);
+ svr_ses.childpidsize = 0;
}
static void