diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2025-10-20 20:58:10 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2025-10-20 21:00:38 +0900 |
| commit | b330f98ff238ad9446574965d09cab33736519d5 (patch) | |
| tree | c9254d386f361da8fd7888232b5298e246f2d73f /tools/lib/python/kdoc/kdoc_output.py | |
| parent | dbd0cf204fe6ba7ba226153d1d90369019b90164 (diff) | |
firewire: core: use cleanup function to release cached configuration ROM
When returning from read_config_rom() function, the allocated buffer and
the previous buffer for configuration ROM should be released. The cleanup
function is useful in the case.
This commit uses the cleanup function to remove goto statements.
Link: https://lore.kernel.org/r/20251020115810.92839-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
