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)
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>

No differences found
This page took 0.024136 seconds and 4 git commands to generate.