diff options
author | Simo Sorce <idra@samba.org> | 2003-05-16 10:48:58 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2003-05-16 10:48:58 +0000 |
commit | 75c14a4ee8cdf91c249d2ef608147dc55b70f0ff (patch) | |
tree | bf20332419abcc370b75ae3b407b0a10df60e9e8 /source3 | |
parent | 10717c720d083e7b901666de5f348b8845eeeea1 (diff) | |
download | samba-75c14a4ee8cdf91c249d2ef608147dc55b70f0ff.tar.gz samba-75c14a4ee8cdf91c249d2ef608147dc55b70f0ff.tar.bz2 samba-75c14a4ee8cdf91c249d2ef608147dc55b70f0ff.zip |
another bugfix from Alex Deiter <tiamat@komi.mts.ru>
thanks
(This used to be commit 29dc40639fad7652f7f99995be7552f5143ff052)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_util.c b/source3/rpc_server/srv_util.c index f96ccaef67..c43eb22375 100644 --- a/source3/rpc_server/srv_util.c +++ b/source3/rpc_server/srv_util.c @@ -194,7 +194,7 @@ NTSTATUS get_alias_user_groups(TALLOC_CTX *ctx, DOM_SID *sid, int *numgroups, ui break; } - free(groups); + if(num_groups) free(groups); /* now check for the user's gid (the primary group rid) */ for (i=0; i<cur_rid && grid!=rids[i]; i++) |