diff --git a/source/obs/obs-tools.hpp b/source/obs/obs-tools.hpp index f160093c..56c02be2 100644 --- a/source/obs/obs-tools.hpp +++ b/source/obs/obs-tools.hpp @@ -62,4 +62,9 @@ namespace obs { { obs_sceneitem_remove(v); } + + inline void obs_data_deleter(obs_data_t* v) + { + obs_data_release(v); + } } // namespace obs