diff options
author | Rob Clark <robdclark@chromium.org> | 2022-10-13 15:55:15 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2022-10-14 09:33:12 -0700 |
commit | ec4fbd791519423726ce9fd5130de9a95365c8eb (patch) | |
tree | 238124a21f40f721eb351227875364b59e6c9c8c /scripts/generate_rust_target.rs | |
parent | fab384c496a313a1083554fb1eb2332a6756be2e (diff) |
drm/msm/a6xx: Remove state objects from list before freeing
Technically it worked as it was before, only because it was using the
_safe version of the iterator. But it is sloppy practice to leave
dangling pointers.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/507017/
Link: https://lore.kernel.org/r/20221013225520.371226-4-robdclark@gmail.com
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions