summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2010-12-02 17:00:11 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-12-03 02:25:52 -0500
commitf9bbb26dd97254b66de11bb2abd821aa293ecba5 (patch)
tree2483f8eecb2db5a3b2fa56fa2c168f3d321d0ad2
parent9fc16ff3f8806971cb495e8838af1e5f9149d34f (diff)
Add missing call to vbeFree (bug 4417)
Also kill unneeded vbe.h include from radeon_bios.c. Signed-off-by: Matt Turner <mattst88@gmail.com>
-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);
}
}