diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-04-20 16:52:04 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2007-04-20 16:52:04 -0400 |
commit | 6238ebee21f800cec6c77b6bf90d7916ca945931 (patch) | |
tree | 1797d0a3246bbdfb448e9a86a21b45365358fa41 /linux-core | |
parent | 8d893e49ec35905a3718c565ec56c21d76dc745c (diff) |
Clean up and return if no outputs are found.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/intel_sdvo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/intel_sdvo.c b/linux-core/intel_sdvo.c index 507b0f5e..98c4034d 100644 --- a/linux-core/intel_sdvo.c +++ b/linux-core/intel_sdvo.c @@ -1054,6 +1054,8 @@ void intel_sdvo_init(drm_device_t *dev, int output_device) DRM_DEBUG("%s: No active RGB or TMDS outputs (0x%02x%02x)\n", SDVO_NAME(sdvo_priv), bytes[0], bytes[1]); + drm_output_destroy(output); + return; } strcpy (name, name_prefix); strcat (name, name_suffix); |