Fix: call xmlCleanupParser to free global libxml2 allocations
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 8 Jun 2016 17:31:13 +0000 (13:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 8 Jun 2016 21:00:51 +0000 (17:00 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/config.c

index 3875f1684cc0d68be6ce29c199997752b727ff32..f0d38ef92f647c5a81f2eceafbb5240442d7ea6a 100644 (file)
@@ -2920,3 +2920,9 @@ end:
        }
        return ret;
 }
+
+static
+void __attribute__((destructor)) session_config_exit(void)
+{
+       xmlCleanupParser();
+}
This page took 0.026167 seconds and 4 git commands to generate.