Fix: remove invalid free
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jul 2016 13:51:40 +0000 (09:51 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Jul 2016 13:54:02 +0000 (09:54 -0400)
commitcb5925aaaf0950d2a14dd36da7e65b4049c18743
tree7afb5afb90fe2e1f35183201eacf914469332969
parente83cec0b52e0c2c1939d8b9c8aa11be3c7a672fd
Fix: remove invalid free

On this error path, we should not free lttng_chan, because it is located
within an allocated shm memory area associated with the channel now. It
is invalid to free this pointer.

This is invoked on a channel creation error path.

Reported-by: Aravind HT <aravind.ht@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-abi.c
This page took 0.024311 seconds and 4 git commands to generate.