Freescale / kernel-module-imx-gpu-viv

FSL Community fork of Vivante i.MX GPU Linux kernel driver
GNU General Public License v2.0
54 stars 30 forks source link

fix for memory leak in gc_hal_kernel_os.c #6

Closed aridet closed 7 years ago

aridet commented 7 years ago

When the test (!((physical - Os->device->baseAddress) & 0x80000000)) returns true, the ref variable allocated line 4935 never get free'd and there is no more reference to it after that.

otavio commented 7 years ago

The change is lacking the Signed-off-by and the long commit log is larger than 80 cols. Apart from that it is fine for merge. Please make the adjustments and we can merge it.

aridet commented 7 years ago

Thanks, It should be fixed now (forced update).