From: Mathieu Desnoyers Date: Wed, 22 Jun 2016 20:20:25 +0000 (-0400) Subject: Fix: add missing destroy functions to queues/stack APIs X-Git-Tag: v0.9.3~10 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=026aaf45e156cae3b0d97df55bc1a04ef77c538e;hp=026aaf45e156cae3b0d97df55bc1a04ef77c538e;p=urcu.git Fix: add missing destroy functions to queues/stack APIs Queues and stack APIs that invoke pthread_mutex_init() should have a "destroy" counterpart which calls pthread_mutex_destroy(), ortherwise this causes small memory leaks on platforms where pthread_mutex_init performs memory allocation. Signed-off-by: Mathieu Desnoyers ---