Changeset 629c2b3839fd7851d3c9e630d1127f464b0f247b

Show
Ignore:
Timestamp:
04/09/08 18:15:16 (3 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1220544916 +0200
git-parent:

[6d9536c7663f926889b44a6deb125152acfb3508]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1220544916 +0200
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/screen/screen.c

    r6d9536c r629c2b3  
    110110 
    111111#ifdef SCREEN_MOUSE 
    112     add_string( "screen-mouse-image", "", NULL, MOUSE_TEXT, MOUSE_LONGTEXT, 
    113                 true ); 
     112    add_file( "screen-mouse-image", "", NULL, MOUSE_TEXT, MOUSE_LONGTEXT, 
     113              true ); 
    114114#endif 
    115115 
     
    223223            msg_Err( p_demux, "Failed to open mouse pointer image (%s)", 
    224224                     psz_mouse ); 
     225        free( psz_mouse ); 
    225226    } 
    226227#endif