From bf8125f4e96a011ec28cc58b225bb815f72fc53c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 20 Jul 2009 12:18:20 +0200 Subject: bugfix: minor static memory leak while reading configuration This did NOT leak based on message volume. Also, did some cleanup during the commit. --- runtime/wtp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/wtp.h') diff --git a/runtime/wtp.h b/runtime/wtp.h index 358ced3a..0505b91c 100644 --- a/runtime/wtp.h +++ b/runtime/wtp.h @@ -55,6 +55,7 @@ struct wtp_s { /* end sync variables */ /* user objects */ void *pUsr; /* pointer to user object (in this case, the queue the wtp belongs to) */ + pthread_attr_t attrThrd;/* attribute for new threads (created just once and cached here) */ pthread_mutex_t *pmutUsr; pthread_cond_t *pcondBusy; /* condition the user will signal "busy again, keep runing" on (awakes worker) */ rsRetVal (*pfChkStopWrkr)(void *pUsr, int); -- cgit