aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/support/cpu_test.c
diff options
context:
space:
mode:
authorGravatar Alistair Veitch <aveitch@google.com>2015-10-21 09:31:58 -0700
committerGravatar Alistair Veitch <aveitch@google.com>2015-10-21 09:31:58 -0700
commit427eb908038a9049391180faa2969a570e3de9bb (patch)
treea9f794fbc3ff9a6c683da9b3244b9f759ad5b97b /test/core/support/cpu_test.c
parent72badb47778d921386552494a577e1650c562f31 (diff)
Fix memory leak
Diffstat (limited to 'test/core/support/cpu_test.c')
-rw-r--r--test/core/support/cpu_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/support/cpu_test.c b/test/core/support/cpu_test.c
index c10484eaf7..6559c1b57e 100644
--- a/test/core/support/cpu_test.c
+++ b/test/core/support/cpu_test.c
@@ -131,6 +131,7 @@ static void cpu_test(void) {
}
}
fprintf(stderr, "] (%d/%d)\n", cores_seen, ct.ncores);
+ gpr_free(ct.used);
}
int main(int argc, char *argv[]) {