diff options
Diffstat (limited to 'hw/xfree86/loader/loadext.c')
-rw-r--r-- | hw/xfree86/loader/loadext.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/xfree86/loader/loadext.c b/hw/xfree86/loader/loadext.c index 39a92c8bc..8ac50a620 100644 --- a/hw/xfree86/loader/loadext.c +++ b/hw/xfree86/loader/loadext.c @@ -378,10 +378,8 @@ tsort(void) if (n == NULL) ErrorF("tsort: internal error -- could not find cycle"); } - if (cycle_buf) - free(cycle_buf); - if (longest_cycle) - free(longest_cycle); + free(cycle_buf); + free(longest_cycle); if (graph) free_nodes(graph); } |