Colin Ian King e1413b42cb iASL: fix memory leak of LocalityBuffer on error return path
The error return path is not free'ing previously allocated
resource LocalityBuffer and hence there is a memory leak. Fix this
by free'ing it before returning.

Fixes: c22c0b1df98c ("Data table compiler: Add error messages for SLIT locality buffers")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
2019-10-19 16:30:28 +01:00
..
2019-10-18 09:04:42 -07:00