summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-02-20 09:47:19 +0100
committerAlexander Bokovoy <ab@samba.org>2013-02-22 16:36:14 +0100
commitd5a210a26f289bba92192187fa543ed70bdf8387 (patch)
treefc493cfcf7a616e74145e211e977922da600f059 /source3/torture
parent301a3cb4afadab6232a34086339696abd0dcbe0c (diff)
downloadsamba-d5a210a26f289bba92192187fa543ed70bdf8387.tar.gz
samba-d5a210a26f289bba92192187fa543ed70bdf8387.tar.bz2
samba-d5a210a26f289bba92192187fa543ed70bdf8387.zip
s3-torture: Don't leak memory.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index db18825ddc..93b9cfd5d5 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -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;