Skip to content
Commit cc4051ad authored by Dave Airlie's avatar Dave Airlie Committed by Olivier Fourdan
Browse files

devices: break after finding and removing device from lists



Coverity complains about a use after free in here after the
freeing, I can't follow the linked list so well, but whot
says the device can only be on one list once, so break should
fix it.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit ba0f5d85)
parent 64a7aac2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment