Fix: invalid destruction of lookup_method
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 29 Aug 2018 12:37:48 +0000 (08:37 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Aug 2018 21:32:45 +0000 (17:32 -0400)
commit6bd61b9632ee566bcc7c274c07a9546c6852ab59
tree22ecda06d3f02be33654296d7bce6e65ed4afc2d
parentd3be549561ae1a35dba8f2b0eb400f06980a390c
Fix: invalid destruction of lookup_method

When passing the lookup_method to the location create function we give
it the ownership of that structure. By setting our pointer to NULL, we
make sure the _destroy function won't free it.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/session-config.c
This page took 0.02677 seconds and 4 git commands to generate.