diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-17 18:14:35 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-20 20:45:25 +1000 |
commit | 088107827347cee05a6e5317bcebdbc282b9a3bc (patch) | |
tree | 0fb8cc09d361f01028afa54e0c759cf7b4fa2056 | |
parent | d5959d37cd36895898786e4ea5bf72c480b79832 (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.c | 2 |
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; |