From: Jérémie Galarneau Date: Mon, 1 Aug 2016 19:34:31 +0000 (-0400) Subject: Fix: missing unmap in test error handling X-Git-Tag: v2.9.0-rc1~75 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=29623dbc9b2771bba4589c9c807eff8d633e12c0;p=lttng-tools.git Fix: missing unmap in test error handling Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/kernel/select_poll_epoll.c b/tests/regression/kernel/select_poll_epoll.c index cb39b0819..3b98ab415 100644 --- a/tests/regression/kernel/select_poll_epoll.c +++ b/tests/regression/kernel/select_poll_epoll.c @@ -759,7 +759,7 @@ void epoll_pwait_concurrent_munmap(void) (void *) epoll_event); if (ret != 0) { fprintf(stderr, "[error] pthread_create\n"); - goto end; + goto end_unmap; } ret = epoll_pwait(epollfd, epoll_event, 1, 1, NULL);