Commit 629c2b38 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix memleak and config option type. (thanks to ivoire and xtophe)

parent 6d9536c7
...@@ -109,8 +109,8 @@ vlc_module_begin(); ...@@ -109,8 +109,8 @@ vlc_module_begin();
#endif #endif
#ifdef SCREEN_MOUSE #ifdef SCREEN_MOUSE
add_string( "screen-mouse-image", "", NULL, MOUSE_TEXT, MOUSE_LONGTEXT, add_file( "screen-mouse-image", "", NULL, MOUSE_TEXT, MOUSE_LONGTEXT,
true ); true );
#endif #endif
#ifdef WIN32 #ifdef WIN32
...@@ -222,6 +222,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -222,6 +222,7 @@ static int Open( vlc_object_t *p_this )
if( !p_sys->p_mouse ) if( !p_sys->p_mouse )
msg_Err( p_demux, "Failed to open mouse pointer image (%s)", msg_Err( p_demux, "Failed to open mouse pointer image (%s)",
psz_mouse ); psz_mouse );
free( psz_mouse );
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment