missing mutex unlock bug

main
Roel Kluin 2007-10-25 10:24:55 +10:00 committed by Dave Airlie
parent 83199c257e
commit 07abc3384e
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ static int sis_drm_alloc(struct drm_device * dev, struct drm_file *file_priv,
dev_priv->agp_initialized)) {
DRM_ERROR
("Attempt to allocate from uninitialized memory manager.\n");
mutex_unlock(&dev->struct_mutex);
return -EINVAL;
}