diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_usershare.c | 2 |
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 ); |