summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-02 23:31:16 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-02 23:31:16 +0000
commitaa77f20a5b8fc83799e4befe668eb2da42727ac7 (patch)
tree02bf0cd57dacf26c5dbb36b7478e34bac2d84c1f /source3/rpcclient
parentdcc037cfc6d96e65048b5b5f975cca834a751016 (diff)
downloadsamba-aa77f20a5b8fc83799e4befe668eb2da42727ac7.tar.gz
samba-aa77f20a5b8fc83799e4befe668eb2da42727ac7.tar.bz2
samba-aa77f20a5b8fc83799e4befe668eb2da42727ac7.zip
dynamic mem allocation in enum dom groups and enum dom aliases
(This used to be commit baa789fabc45e62889755802fd8ec8c9191fe767)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_samr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index a1506f8ca2..056a3292a9 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -1000,11 +1000,6 @@ uint32 msrpc_sam_enum_aliases(struct client_info *info,
/* close the session */
cli_nt_session_close(smb_cli, fnum);
- if (sam != NULL)
- {
- free(sam);
- }
-
if (res)
{
DEBUG(5,("msrpc_sam_enum_aliases: succeeded\n"));