[vlc-commits] [Git][videolan/vlc][master] dsm: fix leak
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Fri Apr 15 12:20:36 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
06e361b1 by Thomas Guillem at 2022-04-15T12:05:45+00:00
dsm: fix leak
Regression from 31f97cbea3e4d24874817ae2cc09e2c3b6a38d81
- - - - -
1 changed file:
- modules/access/dsm/access.c
Changes:
=====================================
modules/access/dsm/access.c
=====================================
@@ -306,6 +306,8 @@ static void Close( vlc_object_t *p_this )
if( p_sys->cache_entry )
vlc_access_cache_AddEntry( &dsm_cache, p_sys->cache_entry );
+ else if( p_sys->p_session != NULL )
+ smb_session_destroy( p_sys->p_session );
free( p_sys );
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/06e361b127e4609e429909756212ed5e30e7d032
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/06e361b127e4609e429909756212ed5e30e7d032
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list