diff options
Diffstat (limited to 'librpc/ndr/ndr_dnsp.c')
-rw-r--r-- | librpc/ndr/ndr_dnsp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/librpc/ndr/ndr_dnsp.c b/librpc/ndr/ndr_dnsp.c index 3cb96f94a1b..ff77bc7da6d 100644 --- a/librpc/ndr/ndr_dnsp.c +++ b/librpc/ndr/ndr_dnsp.c @@ -139,10 +139,6 @@ _PUBLIC_ enum ndr_err_code ndr_pull_dnsp_string(struct ndr_pull *ndr, int ndr_fl NDR_CHECK(ndr_pull_uint8(ndr, ndr_flags, &len)); - ret = talloc_strdup(ndr->current_mem_ctx, ""); - if (!ret) { - return ndr_pull_error(ndr, NDR_ERR_ALLOC, "Failed to pull dnsp_string"); - } ret = talloc_zero_array(ndr->current_mem_ctx, char, len + 1); if (!ret) { return ndr_pull_error(ndr, NDR_ERR_ALLOC, "Failed to pull dnsp_string"); |