s4-torture: fixed double free in libnet_group test
[ira/wip.git] / source4 / torture / libnet / libnet_group.c
index d2a8c12f213dcdc65ef2e6e4bc2b099740c7a93e..5b56b2d679fe02adc280004602380282679b05d9 100644 (file)
@@ -272,7 +272,6 @@ bool torture_groupinfo_api(struct torture_context *torture)
        if (!NT_STATUS_IS_OK(status)) {
                printf("libnet_GroupInfo call failed: %s\n", nt_errstr(status));
                ret = false;
-               talloc_free(mem_ctx);
                goto done;
        }