d7c4551562
We do not handle errors of gbm-buffer-creation and drm-mode-setting in create_output_for_connectors. Correctly catch these now and free memory on error to avoid memory leaks. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>