Fix memory leak

This commit is contained in:
WarmUpTill 2025-12-14 11:20:26 +01:00 committed by WarmUpTill
parent 225913b44d
commit 69711d973a

View File

@ -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>