[PATCH 7/8] compositor-drm: Avoid leak during output configuration error path
Rob Bradford
robert.bradford at intel.com
Tue Oct 9 10:44:35 PDT 2012
From: Rob Bradford <rob at linux.intel.com>
Signed-off-by: Rob Bradford <rob at linux.intel.com>
---
src/compositor-drm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 96d6611..78ad35d 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -2407,6 +2407,7 @@ output_section_done(void *data)
free(output_name);
free(output_mode);
free(output_transform);
+ free(output);
output_name = NULL;
output_mode = NULL;
output_transform = NULL;
--
1.7.11.2
More information about the wayland-devel
mailing list