Fixing memory leaks in add-context command
authorThibault, Daniel <Daniel.Thibault@drdc-rddc.gc.ca>
Mon, 30 Jan 2012 21:58:22 +0000 (16:58 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 30 Jan 2012 22:05:22 +0000 (17:05 -0500)
commit5eb00805632a8721bd15247847caa053e9858719
tree9f359a16fec2bd86a6217c061af58eb53479a5a0
parent08a9c49fb6a76bd9552e8f1834ead9d2632d98af
Fixing memory leaks in add-context command

Besides enforcing the return values and outputting --help to stdout, the
problem lay with the instances of struct ctx_type *type being created
but not assigned to the doubly-linked list under various error
conditions.

Signed-off-by: Daniel U. Thibault <daniel.thibault@drdc-rddc.gc.ca>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/add_context.c
This page took 0.025633 seconds and 4 git commands to generate.