summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-16 21:10:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:32 -0500
commiteb41bfb91ba754458bfb9bd68bf38992995c0d01 (patch)
treea65a8806154a3c05894e2d6de1818d4d06b05e5f /source3
parent4ba1a36d4cb469bffaad86a4620a78d67eeb29ee (diff)
downloadsamba-eb41bfb91ba754458bfb9bd68bf38992995c0d01.tar.gz
samba-eb41bfb91ba754458bfb9bd68bf38992995c0d01.tar.bz2
samba-eb41bfb91ba754458bfb9bd68bf38992995c0d01.zip
r16301: Fix a memleak
(This used to be commit 21aaede518503e6722ba5ccfdb2c77007d12ddee)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index f279c98c31..a936ef5870 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -746,6 +746,8 @@ static void init_srv_sess_info_1(SRV_SESS_INFO_1 *ss1, uint32 *snum, uint32 *sto
(*stot) = 0;
}
+
+ SAFE_FREE(session_list);
}
/*******************************************************************