summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_use.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_client/cli_use.c')
-rw-r--r--source3/rpc_client/cli_use.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c
index 5cd50ca5b0..fdd0ee9a5b 100644
--- a/source3/rpc_client/cli_use.c
+++ b/source3/rpc_client/cli_use.c
@@ -52,10 +52,10 @@ static void cli_use_free(struct cli_use *cli)
cli_ulogoff(cli->cli);
cli_shutdown(cli->cli);
}
- free(cli->cli);
+ SAFE_FREE(cli->cli);
}
- free(cli);
+ SAFE_FREE(cli);
}
/****************************************************************************