From: Mathieu Desnoyers Date: Wed, 22 Jun 2016 20:37:47 +0000 (-0400) Subject: Fix: add missing destroy functions to queues/stack APIs X-Git-Tag: v0.8.10~11 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=93aee570e96c48843659caa12667ff7157734532;hp=93aee570e96c48843659caa12667ff7157734532;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 ---