Skip to content

Commit 53e0728

Browse files
committed
Fix memory leak
Forgot to obs_data_release
1 parent 75996b3 commit 53e0728

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SlideshowSettings.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--[=====[
1+
--[=====[
22
33
https://github.com/dustymethod/BrowserImageSlideshow
44
https://obsproject.com/forum/resources/browser-image-slideshow.852/
@@ -113,6 +113,7 @@ function refresh_source()
113113
end
114114
obs.obs_source_update(source, settings)
115115
obs.obs_source_release(source)
116+
obs.obs_data_release(settings)
116117
end
117118

118119
function getUniqueName(name)

0 commit comments

Comments
 (0)