[PATCH 5/8] LoaderSortExtensions: free graph nodes

Keith Packard keithp at keithp.com
Thu Sep 17 18:14:35 PDT 2009


Signed-off-by: Keith Packard <keithp at keithp.com>
---
 hw/xfree86/loader/loadext.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/loader/loadext.c b/hw/xfree86/loader/loadext.c
index a61b28c..29cdaf1 100644
--- a/hw/xfree86/loader/loadext.c
+++ b/hw/xfree86/loader/loadext.c
@@ -430,6 +430,8 @@ LoaderSortExtensions(void)
     }
     if (sorted)
 	free_nodes(sorted);
+    if (graph)
+	free_nodes(graph);
     newList[i].name = NULL;
     xfree(ExtensionModuleList);
     ExtensionModuleList = newList;
-- 
1.6.3.3



More information about the xorg-devel mailing list