summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-10-12 15:10:22 +0200
committerJulien Cristau <jcristau@debian.org>2008-10-12 15:17:35 +0200
commit1c6ea4ab4772453da915306045add8d147d567f2 (patch)
tree549b389c041ba765afdba7283aa4833be6468854
parent6cb4150160bb1e1365773561fb53294ad9248a0e (diff)
Typo fix
Reported by Tomas Carnecky on IRC
-rw-r--r--src/i830_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index ecfdf2a2..505564f5 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;
}