This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

memory leak when reading EDID in DM814x EZSDK 5.05?

In board-support/linux-2.6.37-psp04.04.00.01/drivers/video/ti81xx/ti81xxhdmi/hdmi.c, in hdmi_get_edid():  if HDMI_CORE_DDC_READEDID() fails, then the buffers allocated by kzalloc() are all lost, right?  It seems like HDMI_CORE_DDC_READEDID() should be done first ...