Commit ef40c008 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] fc2580: fix crash when attach fails



Callbacks were set even attach failed. This leads calling
.release() in error case and resulted crash.

Reported-by: default avatarOliver Schinagl <oliver@schinagl.nl>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2a858486
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment