From ba9819a93951e0a38874c6d06abcba700b07d41d Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 11 Oct 2015 18:08:46 +0200 Subject: [PATCH 089/108] FO: Don't free rc-allocated structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Pavel Březina (cherry picked from commit 63af9215ea9114062fd87003161e6b5982bf9b1f) (cherry picked from commit 5d485ce42a4d56581d44c7224e78083a4ff1e81b) --- src/providers/fail_over.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c index b51a6c99ce031a1566f5d021fcf41843891a2d1c..3e6f1c2a24aaf713288146cc25d9cc462f243160 100644 --- a/src/providers/fail_over.c +++ b/src/providers/fail_over.c @@ -507,7 +507,6 @@ create_server_common(TALLOC_CTX *mem_ctx, struct fo_ctx *ctx, const char *name) common->name = talloc_strdup(common, name); if (common->name == NULL) { - talloc_free(common); return NULL; } -- 2.7.3