[lttng-dev] [PATCH lttng-ust 5/8] Fix: missing enum removal from the enum hashtable

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed Feb 7 20:55:00 UTC 2018


----- On Feb 2, 2018, at 2:48 PM, Francis Deslauriers francis.deslauriers at efficios.com wrote:

Is it a fix or a preparation step for a new feature ?

Thanks,

Mathieu

> Signed-off-by: Francis Deslauriers <francis.deslauriers at efficios.com>
> ---
> liblttng-ust/lttng-events.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/liblttng-ust/lttng-events.c b/liblttng-ust/lttng-events.c
> index e8d4857..2b679b5 100644
> --- a/liblttng-ust/lttng-events.c
> +++ b/liblttng-ust/lttng-events.c
> @@ -990,6 +990,7 @@ static
> void _lttng_enum_destroy(struct lttng_enum *_enum)
> {
> 	cds_list_del(&_enum->node);
> +	cds_hlist_del(&_enum->hlist);
> 	free(_enum);
> }
> 
> --
> 2.7.4

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list