Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spapr: fix leak in h_client_architecture_support()
If the negotiated compat mode can't be set, but raw mode is supported, we decide to ignore the error. An so, we should free it to prevent a memory leak. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
- Loading branch information