xf86-video-intel: src/i830_memory.c

Julien Cristau jcristau at kemper.freedesktop.org
Sun Oct 12 06:18:10 PDT 2008


 src/i830_memory.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1c6ea4ab4772453da915306045add8d147d567f2
Author: Julien Cristau <jcristau at debian.org>
Date:   Sun Oct 12 15:10:22 2008 +0200

    Typo fix
    
    Reported by Tomas Carnecky on IRC

diff --git a/src/i830_memory.c b/src/i830_memory.c
index ecfdf2a..505564f 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -757,7 +757,7 @@ i830_allocate_memory_bo(ScrnInfoPtr pScrn, const char *name,
 	return NULL;
 
     mem->name = xstrdup(name);
-    if (name == NULL) {
+    if (mem->name == NULL) {
 	xfree(mem);
 	return NULL;
     }


More information about the xorg-commit mailing list