mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 14:40:22 +00:00
DeckLink cap.: release decklinkAttributes
(+ removed needless /but harmless/ repeated releasing of decklinkConfiguration)
This commit is contained in:
@@ -1443,9 +1443,7 @@ static void cleanup_common(struct vidcap_decklink_state *s) {
|
||||
|
||||
for (int i = 0; i < s->devices_cnt; ++i) {
|
||||
RELEASE_IF_NOT_NULL(s->state[i].deckLinkConfiguration);
|
||||
if(s->state[i].deckLinkConfiguration != NULL) {
|
||||
s->state[i].deckLinkConfiguration->Release();
|
||||
}
|
||||
RELEASE_IF_NOT_NULL(s->state[i].deckLinkAttributes);
|
||||
|
||||
if(s->state[i].deckLinkInput != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user