On Sat, 6 Jun 2020 at 20:22, BALATON Zoltan <[email protected]> wrote:
>
> We don't need a separate variable to keep track if we allocated memory
> that needs to be freed as we can test the pointer itself.
>
> Signed-off-by: BALATON Zoltan <[email protected]>
> ---
>  hw/display/sm501.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to