diff options
author | Mike Holmes <mike.holmes@linaro.org> | 2015-03-18 19:46:02 -0400 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-03-19 16:44:31 +0300 |
commit | 478cc6c6caa7b95c533cb6e40aaeda029a42550c (patch) | |
tree | ebcd5d79206b4793f1f7e315ff720373e0e66789 /test | |
parent | df9cacd8cd46629ae74173461f4af7187cfbb670 (diff) |
validation: timer: free malloced memory
clean up after calling malloc
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/validation/odp_timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c index 1582c6329..fd8065d2f 100644 --- a/test/validation/odp_timer.c +++ b/test/validation/odp_timer.c @@ -427,6 +427,8 @@ static void *worker_entrypoint(void *arg) if (tt[i].ev != ODP_EVENT_INVALID) odp_timeout_free(odp_timeout_from_event(tt[i].ev)); } + + free(tt); LOG_DBG("Thread %u: exiting\n", thr); return NULL; } |