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.10.0~35 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=200d100e05ed8e10c47f971939042f2406df92ef;hp=200d100e05ed8e10c47f971939042f2406df92ef 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 ---