summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-09-17 18:14:35 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-20 20:45:25 +1000
commit088107827347cee05a6e5317bcebdbc282b9a3bc (patch)
tree0fb8cc09d361f01028afa54e0c759cf7b4fa2056
parentd5959d37cd36895898786e4ea5bf72c480b79832 (diff)
LoaderSortExtensions: free graph nodes
Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--hw/xfree86/loader/loadext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/loader/loadext.c b/hw/xfree86/loader/loadext.c
index a61b28cc2..29cdaf1ac 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;