summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-08 08:28:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:07 -0500
commit991fd6c28ee27bd7d69bdec23a4c5f2c2122cd7d (patch)
tree036bd1c54968b0a4ce72546817406732361c1974 /source3/utils
parent4479d1b0614ff86207a723103f68cce28f67d430 (diff)
downloadsamba-991fd6c28ee27bd7d69bdec23a4c5f2c2122cd7d.tar.gz
samba-991fd6c28ee27bd7d69bdec23a4c5f2c2122cd7d.tar.bz2
samba-991fd6c28ee27bd7d69bdec23a4c5f2c2122cd7d.zip
r14034: Fix Coverity id # 125.
Jeremy, you might want to take a look here. Volker (This used to be commit e6e29937e8ccfc84afca0ee440bd3f10a7d10e8a)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_usershare.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index b4d04bf338..1a5c077721 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -348,6 +348,8 @@ static int info_fn(struct file_list *fl, void *priv)
comment,
&psd);
+ file_lines_free(lines);
+
if (us_err != USERSHARE_OK) {
d_fprintf(stderr, "info_fn: file %s is not a well formed usershare file.\n",
basepath );