summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_bios.c1
-rw-r--r--src/radeon_driver.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 5810bdb6..b53a0ed8 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -40,7 +40,6 @@
#include "radeon_macros.h"
#include "radeon_probe.h"
#include "radeon_atombios.h"
-#include "vbe.h"
typedef enum
{
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 38d53477..e2f605ce 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2940,6 +2940,7 @@ RADEONProbeDDC(ScrnInfoPtr pScrn, int indx)
if (xf86LoadSubModule(pScrn, "vbe")) {
pVbe = VBEInit(NULL,indx);
ConfiguredMonitor = vbeDoEDID(pVbe, NULL);
+ vbeFree(pVbe);
}
}