1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(video): Close video device after checking V4L video modes

Fix #6346
This commit is contained in:
Anthony Bilinski 2021-06-18 00:24:07 -07:00
parent 65ff532a54
commit 9688a1e82f

View File

@ -177,6 +177,7 @@ QVector<VideoMode> v4l2::getDeviceModes(QString devName)
}
}
close(fd);
return modes;
}