Hello all;

The rendition driver probe routine is freeing usedChips in the wrong place.
It's allocated inside an if xf86GetPciVideoInfo and freed outside the block,
so systems without a pci bus free an uninitialized pointer. Here's a diff of
the proposed chasnge.
Enjoy
Lee

*** rendition.c    Thu Mar 18 14:03:27 2004
--- rendition.c.orig    Sat Jan 10 20:03:16 2004
***************
*** 354,361 ****
         foundScreen=TRUE;
         }
         }
-         xfree(usedChips);
     }
     return foundScreen;
 }

--- 354,361 ----
         foundScreen=TRUE;
         }
         }
     }
+     xfree(usedChips);
     return foundScreen;
 }



_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to