mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix memory leak
This commit is contained in:
parent
225913b44d
commit
69711d973a
|
|
@ -210,7 +210,7 @@ findListPropertyById(const obs_source_t *source, const std::string &id)
|
|||
}
|
||||
auto property = obs_properties_first(properties);
|
||||
return {findListPropertyByIdHelper(property, id),
|
||||
properties_t(nullptr, obs_properties_destroy)};
|
||||
properties_t(properties, obs_properties_destroy)};
|
||||
}
|
||||
|
||||
static std::pair<obs_property_t *, properties_t>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user