qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 5db83c: macfb: fix a memory leak (CID 1465231


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 5db83c: macfb: fix a memory leak (CID 1465231)
Date: Tue, 09 Nov 2021 09:21:05 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5db83c7e90ec6c0b28995b537bb03942edcd4164
      
https://github.com/qemu/qemu/commit/5db83c7e90ec6c0b28995b537bb03942edcd4164
  Author: Laurent Vivier <laurent@vivier.eu>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M hw/display/macfb.c

  Log Message:
  -----------
  macfb: fix a memory leak (CID 1465231)

Rewrite the function using g_string_append_printf() rather than
g_strdup_printf()/g_strconcat().

Fixes: df8abbbadf74 ("macfb: add common monitor modes supported by the MacOS 
toolbox ROM")
Cc: mark.cave-ayland@ilande.co.uk
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20211105165254.3544369-1-laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 3871cfce1ef53db3cfa71f610300da237ca4632c
      
https://github.com/qemu/qemu/commit/3871cfce1ef53db3cfa71f610300da237ca4632c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M hw/display/macfb.c

  Log Message:
  -----------
  Merge tag 'q800-for-6.2-pull-request' of git://github.com/vivier/qemu-m68k 
into staging

Fix CID 1465231

# gpg: Signature made Tue 09 Nov 2021 04:46:03 PM CET
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]

* tag 'q800-for-6.2-pull-request' of git://github.com/vivier/qemu-m68k:
  macfb: fix a memory leak (CID 1465231)

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/2b22e7540d6a...3871cfce1ef5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]