libsmbconf: Remove use of some Samba3-specific macros.
[samba.git] / lib / smbconf / smbconf.c
index d723f0b1408e25493d49d656606d1adb3b0d7ae0..bcab0b97cd9afd276ac956dc1441dd35094735aa 100644 (file)
@@ -130,7 +130,7 @@ WERROR smbconf_get_config(struct smbconf_ctx *ctx,
                goto done;
        }
 
-       tmp_services = TALLOC_ARRAY(tmp_ctx, struct smbconf_service *,
+       tmp_services = talloc_array(tmp_ctx, struct smbconf_service *,
                                    tmp_num_shares);
 
        if (tmp_services == NULL) {