[krh/weston/next 7/8] compositor-x11: Fix a memory leak.

John Kåre Alsaker john.kare.alsaker at gmail.com
Fri Oct 12 03:25:11 PDT 2012


---
 src/compositor-x11.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compositor-x11.c b/src/compositor-x11.c
index 5f64795..5b2271e 100644
--- a/src/compositor-x11.c
+++ b/src/compositor-x11.c
@@ -1237,6 +1237,7 @@ output_section_done(void *data)
 		if (output_name)
 			free(output_name);
 		output_name = NULL;
+		free(output);
 		goto err_free;
 	}
 
-- 
1.7.12.2



More information about the wayland-devel mailing list