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

No differences found
This page took 0.02747 seconds and 5 git commands to generate.