summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorAndrea della Porta <andrea.porta@suse.com>2025-03-02 19:29:31 +0100
committerTom Rini <trini@konsulko.com>2025-03-05 12:14:31 -0600
commite22b2d778106256b44e8ed32e6ad7a5d8fff3ebd (patch)
tree5b023ee391b6bc4d67a6615df3861d6a6a96eaf7 /drivers/pwm/pwm-stm32.c
parent31378bd6fc909afabee69f425bf663002277eecf (diff)
fs/squashfs: Fix memory leak in sqfs_size_nest()
In case MAX_SYMLINK_NEST is reached while determining the size on a symlink node, the function returns immediately. This would not free the resources after the free_strings: label causing a memory leak. Set the ret value and just break out of the switch to fix this. Signed-off-by: Andrea della Porta <andrea.porta@suse.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions