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 17:31:13 +0000 (13:31 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/config/session-config.c

index 9df815bff4129ea8e799d25f65f0891b63c45b81..6c639af440143ab00d31631257a311b51160f8f6 100644 (file)
@@ -3012,3 +3012,9 @@ end:
        }
        return ret;
 }
+
+static
+void __attribute__((destructor)) session_config_exit(void)
+{
+       xmlCleanupParser();
+}
This page took 0.027869 seconds and 4 git commands to generate.