diff options
author | Michael Adam <obnox@samba.org> | 2009-01-21 17:16:37 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-01-21 18:40:57 +0100 |
commit | 7ac06f16095c45e0a4388e9420dca28077b0e2b7 (patch) | |
tree | 6b8d2cac41755213f59f02d61752aae937ddf114 | |
parent | 1ed0cc7c9bc0043fe34562438136c0fed30a1746 (diff) | |
download | samba-7ac06f16095c45e0a4388e9420dca28077b0e2b7.tar.gz samba-7ac06f16095c45e0a4388e9420dca28077b0e2b7.tar.bz2 samba-7ac06f16095c45e0a4388e9420dca28077b0e2b7.zip |
s3:libsmbconf: use talloc_free instead of TALLOC_FREE in reg backend
Michael
-rw-r--r-- | source3/lib/smbconf/smbconf_reg.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c index cae16ad2e5..5fce2b194b 100644 --- a/source3/lib/smbconf/smbconf_reg.c +++ b/source3/lib/smbconf/smbconf_reg.c @@ -145,7 +145,7 @@ static WERROR smbconf_reg_open_service_key(TALLOC_CTX *mem_ctx, werr = smbconf_reg_open_path(mem_ctx, ctx, path, desired_access, key); done: - TALLOC_FREE(path); + talloc_free(path); return werr; } @@ -176,7 +176,7 @@ static bool smbconf_value_exists(struct registry_key *key, const char *param) ret = true; } - TALLOC_FREE(ctx); + talloc_free(ctx); return ret; } @@ -216,7 +216,7 @@ static WERROR smbconf_reg_create_service_key(TALLOC_CTX *mem_ctx, } done: - TALLOC_FREE(create_ctx); + talloc_free(create_ctx); return werr; } @@ -331,7 +331,7 @@ static WERROR smbconf_reg_set_multi_sz_value(struct registry_key *key, } done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } @@ -436,7 +436,7 @@ static WERROR smbconf_reg_get_includes_internal(TALLOC_CTX *mem_ctx, } done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } @@ -533,7 +533,7 @@ static WERROR smbconf_reg_get_values(TALLOC_CTX *mem_ctx, } done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } @@ -592,7 +592,7 @@ static WERROR smbconf_reg_delete_values(struct registry_key *key) werr = WERR_OK; done: - TALLOC_FREE(mem_ctx); + talloc_free(mem_ctx); return werr; } @@ -748,7 +748,7 @@ static WERROR smbconf_reg_drop(struct smbconf_ctx *ctx) &new_key, &action); done: - TALLOC_FREE(mem_ctx); + talloc_free(mem_ctx); return werr; } @@ -833,7 +833,7 @@ static WERROR smbconf_reg_get_share_names(struct smbconf_ctx *ctx, } done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } @@ -854,7 +854,7 @@ static bool smbconf_reg_share_exists(struct smbconf_ctx *ctx, ret = true; } - TALLOC_FREE(mem_ctx); + talloc_free(mem_ctx); return ret; } @@ -876,7 +876,7 @@ static WERROR smbconf_reg_create_share(struct smbconf_ctx *ctx, servicename, &key); } - TALLOC_FREE(mem_ctx); + talloc_free(mem_ctx); return werr; } @@ -923,7 +923,7 @@ static WERROR smbconf_reg_get_share(struct smbconf_ctx *ctx, } done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } @@ -949,7 +949,7 @@ static WERROR smbconf_reg_delete_share(struct smbconf_ctx *ctx, } done: - TALLOC_FREE(mem_ctx); + talloc_free(mem_ctx); return werr; } @@ -974,7 +974,7 @@ static WERROR smbconf_reg_set_parameter(struct smbconf_ctx *ctx, werr = smbconf_reg_set_value(key, param, valstr); done: - TALLOC_FREE(mem_ctx); + talloc_free(mem_ctx); return werr; } @@ -1019,8 +1019,8 @@ static WERROR smbconf_reg_get_parameter(struct smbconf_ctx *ctx, } done: - TALLOC_FREE(key); - TALLOC_FREE(value); + talloc_free(key); + talloc_free(value); return werr; } @@ -1054,7 +1054,7 @@ static WERROR smbconf_reg_delete_parameter(struct smbconf_ctx *ctx, werr = reg_deletevalue(key, param); done: - TALLOC_FREE(mem_ctx); + talloc_free(mem_ctx); return werr; } @@ -1078,7 +1078,7 @@ static WERROR smbconf_reg_get_includes(struct smbconf_ctx *ctx, includes); done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } @@ -1108,7 +1108,7 @@ static WERROR smbconf_reg_set_includes(struct smbconf_ctx *ctx, } done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } @@ -1133,7 +1133,7 @@ static WERROR smbconf_reg_delete_includes(struct smbconf_ctx *ctx, done: - TALLOC_FREE(tmp_ctx); + talloc_free(tmp_ctx); return werr; } |