nouveau: Fix build.

Fixes nouveau build failure introduced at
c73245882c.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57746
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
Brian Paul 2012-11-30 19:11:21 -08:00 committed by Vinson Lee
parent f3476ec8fa
commit a17750b688
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ nouveau_renderbuffer_dri_new(GLenum format, __DRIdrawable *drawable)
rb->AllocStorage = nouveau_renderbuffer_dri_storage;
if (!set_renderbuffer_format(rb, format)) {
nouveau_renderbuffer_del(rb);
nouveau_renderbuffer_del(NULL, rb);
return NULL;
}