Re: [PATCH] drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Sep 14, 2023 at 11:53 PM Jani Nikula <jani.nikula@xxxxxxxxx> wrote:
> The sads returned by drm_edid_to_sad() needs to be freed.
> Fixes: e71a8ebbe086 ("drm/mediatek: dp: Audio support for MT8195")
> Cc: Guillaume Ranquet <granquet@xxxxxxxxxxxx>
> Cc: Bo-Chen Chen <rex-bc.chen@xxxxxxxxxxxx>
> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
> Cc: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx>
> Cc: Chun-Kuang Hu <>
> Cc: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
> Cc: Matthias Brugger <matthias.bgg@xxxxxxxxx>
> Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
> Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Cc: <stable@xxxxxxxxxxxxxxx> # v6.1+
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>

Looks correct to me.

Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>

[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux