From 0a362a94c8f720ad0805c0789433d3e70b86d1c3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Apr 2008 02:16:08 +0200 Subject: net/libnetapi: Include netapi headers early and free on exit. Guenther (This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c) --- source3/utils/net_dom.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/utils/net_dom.c') diff --git a/source3/utils/net_dom.c b/source3/utils/net_dom.c index e88bbdb276..6e4bf14c84 100644 --- a/source3/utils/net_dom.c +++ b/source3/utils/net_dom.c @@ -19,7 +19,6 @@ #include "includes.h" #include "utils/net.h" -#include "lib/netapi/netapi.h" static int net_dom_usage(int argc, const char **argv) { @@ -130,7 +129,6 @@ static int net_dom_unjoin(int argc, const char **argv) cli_shutdown(cli); } - /* libnetapi_free(ctx); */ return ret; } @@ -244,7 +242,6 @@ static int net_dom_join(int argc, const char **argv) cli_shutdown(cli); } - /* libnetapi_free(ctx); */ return ret; } -- cgit