Fix: Possible memory leak when multiple config files are loaded
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Jul 2014 19:22:18 +0000 (15:22 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 11 Jul 2014 20:02:38 +0000 (16:02 -0400)
commit41e16a7c24eed8c602399781ff545b99930d73c6
tree3d067f9c7591689873a2c3cf11b1ead6a35d7b98
parent13755a18f06a510c0e304216cc207ffdbd0ae1c4
Fix: Possible memory leak when multiple config files are loaded

Some configuration options could leak when initialized multiple times
from different configuration files and from the command line arguments.
The previous options are now freed' before being set.

Fixes #796

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.031991 seconds and 4 git commands to generate.