summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compositor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compositor.c b/src/compositor.c
index 2bbdce8..fd5f5a6 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1768,6 +1768,11 @@ int wet_main(int argc, char *argv[])
wl_display_destroy_clients(display);
error_compositor:
+ free(backend);
+ backend = NULL;
+ free(modules);
+ modules = NULL;
+
weston_compositor_tear_down(ivi.compositor);
weston_compositor_log_scope_destroy(log_scope);