summaryrefslogtreecommitdiff
path: root/include/linux/zstd_lib.h
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-10-03 11:42:50 +0100
committerHeiko Schocher <[email protected]>2025-10-08 11:35:47 +0200
commitd23ddd5dee570e625e0fd76bba1e155f4cc1248c (patch)
tree6421936aacc603cc409557bbbf117b8bd6f7fc38 /include/linux/zstd_lib.h
parent2bc0837ce19c64af44ccb912fc9c9e3a52269dec (diff)
fs: ubifs: Ensure buf is freed before return
Returning directly after buf has been allocated will result in a memory leak. Instead set the error code and goto the common unwind code to ensure that buf will be freed before returning. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include/linux/zstd_lib.h')
0 files changed, 0 insertions, 0 deletions