Changeset 1750723d84703a661be20e0248ada01f973979bd

Show
Ignore:
Timestamp:
03/07/08 22:55:07 (3 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1215118507 +0200
git-parent:

[5cf39390c0d9a4c9ef2860746126f0bbad3370b6]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1215035245 +0200
Message:

Fix potential segfault.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/ncurses.c

    r43a486b r1750723  
    247247    /* Allocate instance and initialize some members */ 
    248248    p_sys = p_intf->p_sys = malloc( sizeof( intf_sys_t ) ); 
     249    if( !p_sys ) 
     250        return VLC_ENOMEM; 
    249251    p_sys->p_node = NULL; 
    250252    p_sys->p_input = NULL;