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:04:02 +0000 (16:04 -0400)
commitbc32011fb9c3cba7cde7cc6fd301cfda3b5ccb50
tree8660e776c5bdfca594043a2ca59940022187598a
parent95df5340727bbba0a4f84d2566f5a4474b91a3f2
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.024965 seconds and 4 git commands to generate.