summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-08 06:39:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:06 -0500
commit6491aed1ac91f3eb57bee52de511f684d9dc35e0 (patch)
tree6ad152d935f96cd1fc1811d1bb6e90778176a3a4 /source3
parent43ad653211114ddd7c85e7d9dfe13e957a97c71d (diff)
downloadsamba-6491aed1ac91f3eb57bee52de511f684d9dc35e0.tar.gz
samba-6491aed1ac91f3eb57bee52de511f684d9dc35e0.tar.bz2
samba-6491aed1ac91f3eb57bee52de511f684d9dc35e0.zip
r14022: Fix Coverity bug # 92
(This used to be commit b824245c4e04353f0d3fd0ccf6bc5776a601daed)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/libsmb_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/libsmb_cache.c b/source3/libsmb/libsmb_cache.c
index 4fa395399e..5d948ea5e2 100644
--- a/source3/libsmb/libsmb_cache.c
+++ b/source3/libsmb/libsmb_cache.c
@@ -94,6 +94,7 @@ static int smbc_add_cached_server(SMBCCTX * context, SMBCSRV * newsrv,
SAFE_FREE(srvcache->share_name);
SAFE_FREE(srvcache->workgroup);
SAFE_FREE(srvcache->username);
+ SAFE_FREE(srvcache);
return 1;
}