0f0d54e5c5
We currently simply return -1 on error in create_output_for_connector. This correctly frees the output and all modes when we fail to avoid memory leaks. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>