qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Coverity CID 1421984
@ 2020-03-23 11:46 Max Reitz
  2020-03-23 11:58 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 12+ messages in thread
From: Max Reitz @ 2020-03-23 11:46 UTC (permalink / raw)
  To: John Snow, BALATON Zoltan; +Cc: qemu-devel@nongnu.org, Qemu-block


[-- Attachment #1.1: Type: text/plain, Size: 585 bytes --]

Hi,

I was triaging new Coverity block layer reports today, and one that
seemed like a real bug was CID 1421984:

It complains about a memleak in sii3112_pci_realize() in
hw/ide/sii3112.c, specifically about @irq being leaked (it’s allocated
by qemu_allocate_irqs(), but never put anywhere or freed).

I’m not really well-versed in anything under hw/ide, so I was wondering
whether you agree it’s a bug and whether you know the correct way to fix
it.  (I assume it’s just a g_free(irqs), but maybe there’s a more
specific way that’s applicable here.)

Max


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-03-23 15:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-23 11:46 Coverity CID 1421984 Max Reitz
2020-03-23 11:58 ` Philippe Mathieu-Daudé
2020-03-23 13:11   ` BALATON Zoltan
2020-03-23 13:26     ` Max Reitz
2020-03-23 13:35     ` Peter Maydell
2020-03-23 14:06       ` BALATON Zoltan
2020-03-23 14:35         ` Peter Maydell
2020-03-23 14:43           ` BALATON Zoltan
2020-03-23 14:46             ` Peter Maydell
2020-03-23 15:28               ` BALATON Zoltan
2020-03-23 15:33                 ` Peter Maydell
2020-03-23 15:28               ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).