Skip to contentSkip to conversation

sis_main.c

PATCH Christopher Kanaan 1 participant 1 message May 4, 2001 Kbuild

lore
Share & tools
lore
#0 lore raw

Sorry

sis_main.c Fri May 4 07:34:47 2001 renamed from usr/src/linux/drivers/video/sis/sis_main.c Fri Feb 9 11:30:23 2001 +4 -0
@@ -1030,6 +1030,10 @@
        if (heap.pohFreeList == NULL) {
                poha = kmalloc(OH_ALLOC_SIZE, GFP_KERNEL);
 
+               if(!poha) {
+                   return(NULL);
+                 }
+
                poha->pohaNext = heap.pohaChain;
                heap.pohaChain = poha;