Skip to content

locale: fix leaked SrtLocale

Ludovico de Nittis requested to merge wip/denittis/locale-leaks into master

maybe_locale_new_positive() increases the ref count of "locale" before storing it. After that in srt_system_info_check_locale we don't need "locale" anymore, so I added an object unref.

Merge request reports

Loading