vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Mar 18 
21:41:40 2013 +0200| [daafd8f20950253757c940c9e9ec9e72bdab8cb3] | committer: 
Rémi Denis-Courmont

libvlc: deinit actions in reverse order of init

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=daafd8f20950253757c940c9e9ec9e72bdab8cb3
---

 src/libvlc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index a117d7f..9621f4f 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -614,6 +614,8 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
     }
 #endif
 
+    vlc_DeinitActions( p_libvlc, priv->actions );
+
     /* Save the configuration */
     if( !var_InheritBool( p_libvlc, "ignore-config" ) )
         config_AutoSaveConfigFile( VLC_OBJECT(p_libvlc) );
@@ -621,7 +623,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
     /* Free module bank. It is refcounted, so we call this each time  */
     module_EndBank (true);
 
-    vlc_DeinitActions( p_libvlc, priv->actions );
 #if defined(WIN32) || defined(__OS2__)
     system_End( );
 #endif

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to