diff options
author | Alex Deucher <alex@botch2.com> | 2007-07-12 00:03:13 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2007-07-12 00:03:13 -0400 |
commit | b706ffe07fc61281d2dea406f828418f42e3da85 (patch) | |
tree | e1e2a5b649224265a6f541b6918ac46ce1d01c41 /src | |
parent | fab88bce3b9f19918bbf1a2b0f57d34113c8381f (diff) |
Unmap mem before freeing driverPrivate
Diffstat (limited to 'src')
-rw-r--r-- | src/savage_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index 84b9fcd..c56edf1 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -766,9 +766,9 @@ static void SavageFreeRec(ScrnInfoPtr pScrn) TRACE(( "SavageFreeRec(%x)\n", pScrn->driverPrivate )); if (!pScrn->driverPrivate) return; + SavageUnmapMem(pScrn, 1); xfree(pScrn->driverPrivate); pScrn->driverPrivate = NULL; - SavageUnmapMem(pScrn, 1); } |