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:53:42 +0000 (09:53 -0400)
commit06f1646ad90fd8c223f174ae14ee3d236771d1e0
treeccda1c35a37a3b9f6c39f212dec153dff0f50af1
parent3046b99ebe14547404cb0578c1007aa5eda42472
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.024627 seconds and 4 git commands to generate.