diff options
author | Volker Lendecke <vl@samba.org> | 2008-02-04 21:05:41 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-02-04 21:05:41 +0100 |
commit | b361956942618ec2f7c2efc60cb190858adbc516 (patch) | |
tree | bac3c4bc6749507efbf028d261cfba524a186639 /source3/smbd | |
parent | 2762b9a97582b9b28fd5985ba8e3d0299126820e (diff) | |
download | samba-b361956942618ec2f7c2efc60cb190858adbc516.tar.gz samba-b361956942618ec2f7c2efc60cb190858adbc516.tar.bz2 samba-b361956942618ec2f7c2efc60cb190858adbc516.zip |
str_list_free is not needed anymore
(This used to be commit feddc1447d585fd108d22a36bccc576fa81197ef)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/password.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 913c3c35da..687b67950a 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -595,8 +595,7 @@ static bool user_ok(const char *user, int snum) } } } - if (invalid) - str_list_free (&invalid); + TALLOC_FREE(invalid); if (ret && lp_valid_users(snum)) { str_list_copy(talloc_tos(), &valid, lp_valid_users(snum)); @@ -611,8 +610,7 @@ static bool user_ok(const char *user, int snum) } } } - if (valid) - str_list_free (&valid); + TALLOC_FREE(valid); if (ret && lp_onlyuser(snum)) { char **user_list = str_list_make( |