summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-07-08 13:02:44 +0200
committerSimo Sorce <ssorce@redhat.com>2009-07-08 19:19:06 -0400
commit243bc6af6f0c73aca109c7da6c49a4a02e548e5d (patch)
tree14c49316abbe797dd30992aadd71948b3cdc0702
parentbb633f641f8b2bf56d49a48077f409a59f3269ce (diff)
downloadsssd-243bc6af6f0c73aca109c7da6c49a4a02e548e5d.tar.gz
sssd-243bc6af6f0c73aca109c7da6c49a4a02e548e5d.tar.bz2
sssd-243bc6af6f0c73aca109c7da6c49a4a02e548e5d.zip
fixed a double talloc_free error
-rw-r--r--server/tools/sss_groupadd.c2
-rw-r--r--server/tools/sss_groupdel.c2
-rw-r--r--server/tools/sss_groupmod.c2
-rw-r--r--server/tools/sss_useradd.c2
-rw-r--r--server/tools/sss_userdel.c2
-rw-r--r--server/tools/sss_usermod.c2
6 files changed, 0 insertions, 12 deletions
diff --git a/server/tools/sss_groupadd.c b/server/tools/sss_groupadd.c
index 70505671..40df8c92 100644
--- a/server/tools/sss_groupadd.c
+++ b/server/tools/sss_groupadd.c
@@ -65,8 +65,6 @@ static void add_group_req_done(struct tevent_req *req)
data->error = sysdb_transaction_commit_recv(req);
data->done = true;
-
- talloc_zfree(data->handle);
}
static void add_group_terminate(struct group_add_ctx *data, int error)
diff --git a/server/tools/sss_groupdel.c b/server/tools/sss_groupdel.c
index 50ed112a..7b65b7d4 100644
--- a/server/tools/sss_groupdel.c
+++ b/server/tools/sss_groupdel.c
@@ -64,8 +64,6 @@ static void groupdel_req_done(struct tevent_req *req)
data->error = sysdb_transaction_commit_recv(req);
data->done = true;
-
- talloc_zfree(data->handle);
}
/* sysdb callback */
diff --git a/server/tools/sss_groupmod.c b/server/tools/sss_groupmod.c
index 30f8e54b..9f6a9740 100644
--- a/server/tools/sss_groupmod.c
+++ b/server/tools/sss_groupmod.c
@@ -70,8 +70,6 @@ static void mod_group_req_done(struct tevent_req *req)
data->error = sysdb_transaction_commit_recv(req);
data->done = true;
-
- talloc_zfree(data->handle);
}
static void mod_group_done(struct group_mod_ctx *data, int error)
diff --git a/server/tools/sss_useradd.c b/server/tools/sss_useradd.c
index e78e11cd..f9482aa7 100644
--- a/server/tools/sss_useradd.c
+++ b/server/tools/sss_useradd.c
@@ -196,8 +196,6 @@ static void add_user_req_done(struct tevent_req *req)
data->error = sysdb_transaction_commit_recv(req);
data->done = true;
-
- talloc_zfree(data->handle);
}
static void add_user_terminate(struct user_add_ctx *data, int error)
diff --git a/server/tools/sss_userdel.c b/server/tools/sss_userdel.c
index 857057fd..5e400fcb 100644
--- a/server/tools/sss_userdel.c
+++ b/server/tools/sss_userdel.c
@@ -63,8 +63,6 @@ static void userdel_req_done(struct tevent_req *req)
data->error = sysdb_transaction_commit_recv(req);
data->done = true;
-
- talloc_zfree(data->handle);
}
/* sysdb callback */
diff --git a/server/tools/sss_usermod.c b/server/tools/sss_usermod.c
index 1b1478af..05df1336 100644
--- a/server/tools/sss_usermod.c
+++ b/server/tools/sss_usermod.c
@@ -107,8 +107,6 @@ static void mod_user_req_done(struct tevent_req *req)
data->error = sysdb_transaction_commit_recv(req);
data->done = true;
-
- talloc_zfree(data->handle);
}
static void mod_user_done(struct user_mod_ctx *data, int error)