[Bug 263371] Possible memleak bugs caused by g_raid_destroy_volume()
Date: Sun, 17 Apr 2022 17:47:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263371 --- Comment #1 from Yuri <email@example.com> --- The advise would be taking static analyzer output with a grain of salt (or a ton, actually) and asking questions on relevant mailing lists instead of using bugtracker when in doubt. For the report itself, if I understand the code correctly, the vol->v_provider_open != 0 check above all of the g_raid_destroy_volume() calls makes sure all of the code paths returning EBUSY will not be taken. It would help though to have (void) casts when we are not interested in return values to mark it as "intended". -- You are receiving this mail because: You are the assignee for the bug.