greybus: Use valid control pointer while freeing memory
While releasing memory during error path exit, invalid memory pointer was used for dapm_routes. Use a valid one. Signed-off-by: NVaibhav Agarwal <vaibhav.agarwal@linaro.org> Reviewed-by: NMark Greer <mgreer@animalcreek.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
Showing
想要评论请 注册 或 登录