s4-torture: fixed double free in libnet_group test
authorAndrew Tridgell <tridge@samba.org>
Thu, 22 Oct 2009 07:45:43 +0000 (18:45 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 22 Oct 2009 07:46:27 +0000 (18:46 +1100)
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;
        }