diff options
author | Wei Yongjun <[email protected]> | 2022-06-08 09:01:52 +0000 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2022-07-12 12:25:36 +0200 |
commit | ba1de43768aa27865169af00ee0c2a4a165690b6 (patch) | |
tree | 60680da5fa861a7f85075a47d8f2c5920712438f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3576c0b2709c8204a18371d5f8b44a724234ffe7 (diff) |
mmc: debugfs: Fix file release memory leak
When using single_open() for opening, single_release() should be
used instead of seq_release(), otherwise there is a memory leak.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions