[Mesa-dev] [android-x86-devel] [RFC 3/7] gallium/swrast: fix dri_sw_dt->data free func not matching alloc func

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 29 09:31:45 UTC 2016


On 28 April 2016 at 08:34, Chih-Wei Huang <cwhuang at android-x86.org> wrote:
> From: WuZhen <wuzhen at jidemail.com>
>
> The old code causes crashes when using software rendering.
>
Nitpicks (which I can apply before pushing):

The following shortlog/summary reads better imho
"winsys/sw: use correct free function for dri_sw_dt->data

align_malloc() is used to allocate dri_sw_dt->data, thus we should not
be using FREE() but align_free().

Cc: "11.2 11.1" <mesa-stable at lists.freedesktop.org>
"

Thanks
Emil


More information about the mesa-dev mailing list