Re: [PATCH] perf dso: Fix build when libunwind is enabled

From: Florian Fainelli
Date: Mon Jul 15 2024 - 13:32:45 EST


On 7/15/24 02:47, James Clark wrote:
Now that symsrc_filename is always accessed through an accessor, we also
need a free() function for it to avoid the following compilation error:

util/unwind-libunwind-local.c:416:12: error: lvalue required as unary
‘&’ operand
416 | zfree(&dso__symsrc_filename(dso));

Fixes: 1553419c3c10 ("perf dso: Fix address sanitizer build")
Signed-off-by: James Clark <james.clark@xxxxxxxxxx>

Tested-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature