diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-07 20:24:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:11:03 -0500 |
commit | dece1a2db267eb7adf1560bc040763be919db592 (patch) | |
tree | 35364ea0a103d5b797c91d9054b3de2c62c3d36c /source3 | |
parent | 5f76ee419e98bb113eead87eac9a1d7fee80e82f (diff) | |
download | samba-dece1a2db267eb7adf1560bc040763be919db592.tar.gz samba-dece1a2db267eb7adf1560bc040763be919db592.tar.bz2 samba-dece1a2db267eb7adf1560bc040763be919db592.zip |
r13983: Fix Coverity bug # 111
(This used to be commit 08d7fd31ab250bc6ba3922b36aa7b0cfef1e5bf1)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/lanman.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index a78681bad8..4d4d9d2259 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1082,6 +1082,7 @@ static int get_server_info(uint32 servertype, *servers = SMB_REALLOC_ARRAY(*servers,struct srv_info_struct, alloced); if (!*servers) { DEBUG(0,("get_server_info: failed to enlarge servers info struct!\n")); + file_lines_free(lines); return 0; } memset((char *)((*servers)+count),'\0',sizeof(**servers)*(alloced-count)); |