From: Andrew Beekhof <andrew@beekhof.net>
Date: Tue, 8 Sep 2015 12:02:54 +1000
Subject: [PATCH] Fix: PE: Resolve memory leak
(cherry picked from commit 4f48a79fd19be0e614716f0900e31985d4714ace)
---
lib/pengine/unpack.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/pengine/unpack.c b/lib/pengine/unpack.c
index 156a192..c4f3134 100644
--- a/lib/pengine/unpack.c
+++ b/lib/pengine/unpack.c
@@ -276,9 +276,13 @@ destroy_digest_cache(gpointer ptr)
op_digest_cache_t *data = ptr;
free_xml(data->params_all);
+ free_xml(data->params_secure);
free_xml(data->params_restart);
+
free(data->digest_all_calc);
free(data->digest_restart_calc);
+ free(data->digest_secure_calc);
+
free(data);
}