Changeset 24adfd982d2cf6693245d77cf6877ea2c0aa8141

Show
Ignore:
Timestamp:
20/08/08 19:39:31 (3 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1219253971 +0200
git-parent:

[ce94e2fe66764599fe29959665e2e5348866e8dd]

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

Fix potential memleak.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_filter/timeshift.c

    rf5f434a r24adfd9  
    161161 
    162162    p_access->p_sys = p_sys = malloc( sizeof( access_sys_t ) ); 
     163    if( !p_sys ) 
     164        return VLC_ENOMEM; 
    163165 
    164166    /* */ 
     
    187189                           VLC_THREAD_PRIORITY_LOW, false ) ) 
    188190    { 
     191        Close( p_this ); 
    189192        msg_Err( p_access, "cannot spawn timeshift access thread" ); 
    190193        return VLC_EGENERIC;