util/ra: fix memory leak
authorEric Engestrom <eric@engestrom.ch>
Mon, 31 Jul 2017 13:13:58 +0000 (14:13 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 31 Jul 2017 19:55:19 +0000 (12:55 -0700)
commit70c6f656f952111bdd7a5d1c02bb99bfb0219622
treef7c45057a60585275e2d5e494aa5dd9d833247f1
parent110dda0e3f451c87bfa9a8f0e023547d1ed3803f
util/ra: fix memory leak

CID: 1415909
Fixes: 7a34a0e8903249c41fae "ra: Add a callback for selecting a register
                             from what's available."
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/util/register_allocate.c