eina_thread: don't leak on pthread_cancel().
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 17 Sep 2016 01:17:25 +0000 (22:17 -0300)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Mon, 19 Sep 2016 04:01:35 +0000 (01:01 -0300)
commit76c3726ef0709b88f17ca1e1f668345227b3b9c4
treea393b857ab370ada76f9aaf7785c00f404c973aa
parenta05039577058ad20ca643efdeff62215b4df5ced
eina_thread: don't leak on pthread_cancel().

if we cancel a thread we should still free the context, so use the new
EINA_THREAD_CLEANUP_PUSH() and EINA_THREAD_CLEANUP_POP()
src/lib/eina/eina_thread.c