s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.c
authorMichael Adam <obnox@samba.org>
Wed, 21 Jan 2009 16:11:02 +0000 (17:11 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 21 Jan 2009 17:40:55 +0000 (18:40 +0100)
Michael

source3/lib/smbconf/smbconf_util.c

index 271fc47dd447a8caabdbd10360178db1db2ca07f..5eb5e963ed9279d36287b84b1009d9905f355eab 100644 (file)
@@ -67,7 +67,7 @@ WERROR smbconf_init_internal(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
        return werr;
 
 fail:
-       TALLOC_FREE(ctx);
+       talloc_free(ctx);
        return werr;
 }
 
@@ -96,7 +96,7 @@ WERROR smbconf_add_string_to_array(TALLOC_CTX *mem_ctx,
        } else {
                new_array[count] = talloc_strdup(new_array, string);
                if (new_array[count] == NULL) {
-                       TALLOC_FREE(new_array);
+                       talloc_free(new_array);
                        return WERR_NOMEM;
                }
        }