Changeset 3aec1b381569f564766bfb23717c657e0e1967e3

Show
Ignore:
Timestamp:
25/02/08 00:25:31 (8 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1203895531 +0000
git-parent:

[68cfd74e073141235c73c89f3b19ce1aa9fd058e]

git-author:
Rafaël Carré <funman@videolan.org> 1203895531 +0000
Message:

make incorrect uses of free() and malloc() call abort() on OSX

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/vlc.c

    r7114811 r3aec1b3  
    9696    /* Activate malloc checking routines to detect heap corruptions. */ 
    9797    putenv( (char*)"MALLOC_CHECK_=2" ); 
     98#       ifdef __APPLE 
     99    putenv( (char*)"MallocErrorAbort=crash_my_baby_crash" ); 
     100#       endif 
    98101 
    99102    /* Disable the ugly Gnome crash dialog so that we properly segfault */