From: Jonathan Rajotte Date: Tue, 17 Jan 2017 15:08:47 +0000 (-0500) Subject: Fix: null dereference on error path for create_ctx_type X-Git-Tag: v2.10.0-rc1~61 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=inline;h=1e19c0f692117a7e1d2f00b2c434d7bd68485575;hp=1e19c0f692117a7e1d2f00b2c434d7bd68485575;p=lttng-tools.git Fix: null dereference on error path for create_ctx_type When zmalloc of type->opt fail the destroy_ctx_type would result in a null dereference. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---