https://bugzilla.novell.com/show_bug.cgi?id=432595
User eich@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=432595#c22
--- Comment #22 from Egbert Eich 2008-10-24 08:09:54 MDT ---
The new code seems to be ok. It always obtains the bus ptr, the reason why it
doesn't crash is:
intel_output->pDDCBus = NULL;
after the struct is freed.
There still is a memory leak in the code. This should fix it:
/* Set up the DDC bus. */
+ if (ntel_output->pDDCBus)
+ xf86DestroyI2CBusRec(intel_output->pDDCBus, TRUE, TRUE);
I830I2CInit(output->scrn, &intel_output->pDDCBus, gpio_reg, gpio_str);
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.