fix another memleak

This commit is contained in:
Tilman Sauerbeck 2006-07-12 17:06:49 +00:00
parent e77875dcbe
commit e5c28321b2
1 changed files with 4 additions and 0 deletions

View File

@ -845,6 +845,10 @@ static void driDestroyScreen(__DRInativeDisplay *dpy, int scrn, void *screenPriv
if ( psp->modes != NULL ) {
(*dri_interface->destroyContextModes)( psp->modes );
}
assert(psp->drawHash);
drmHashDestroy(psp->drawHash);
_mesa_free(psp);
}
}