From de99a94c384fdb6a71c20692df33dc24a2b81a4b Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 12 Dec 2014 08:11:14 +0100 Subject: explicit passing of *tsrm_ls isn't needed anymore --- TSRM/TSRM.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TSRM/TSRM.c') diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c index df831f31b8..67b7ff6002 100644 --- a/TSRM/TSRM.c +++ b/TSRM/TSRM.c @@ -286,7 +286,7 @@ static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_ tsrm_tls_set(*thread_resources_ptr); if (tsrm_new_thread_begin_handler) { - tsrm_new_thread_begin_handler(thread_id, &((*thread_resources_ptr)->storage)); + tsrm_new_thread_begin_handler(thread_id); } for (i=0; istorage)); + tsrm_new_thread_end_handler(thread_id); } tsrm_mutex_unlock(tsmm_mutex); -- cgit v1.2.1