lttng command line UI: fix allocation/free
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 16 Jul 2011 16:06:21 +0000 (12:06 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Sat, 16 Jul 2011 19:03:41 +0000 (15:03 -0400)
commitb73d0b29491b7d0dc5cde3c4c65a6cd7c80479b4
tree5bf2ee4db88ccdd46ee62df342c5f9524f70f809
parentb58c70aeb7e3742eb09863475722468fab12044b
lttng command line UI: fix allocation/free

Freeing non-dynamically allocated memory is never a good idea.
Also fixing 2 memory leaks.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng/commands/destroy.c
lttng/commands/disable_events.c
lttng/commands/enable_events.c
lttng/commands/start.c
lttng/commands/stop.c
lttng/utils.c
This page took 0.026913 seconds and 4 git commands to generate.