s3-torture: Don't leak memory.
authorAndreas Schneider <asn@samba.org>
Wed, 20 Feb 2013 08:47:19 +0000 (09:47 +0100)
committerAlexander Bokovoy <ab@samba.org>
Fri, 22 Feb 2013 15:36:14 +0000 (16:36 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/torture/torture.c

index db18825ddcc51711db2cb3e5de07d1079f30936e..93b9cfd5d55a52d9e7910a2adf37f8e0d706c266 100644 (file)
@@ -3101,6 +3101,9 @@ static bool run_randomipc(int dummy)
                correct = False;
        }
 
+       SAFE_FREE(rparam);
+       SAFE_FREE(rdata);
+
        printf("finished random ipc test\n");
 
        return correct;