mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
Somebody obviously took a course "coding non-portable".
Pointers are not always 4 bytes! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14178 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3669e31236
commit
715ab14952
@ -116,7 +116,7 @@ void gaddlist( char *** list,char * entry )
|
||||
free( (*list) );
|
||||
}
|
||||
|
||||
(*list)=malloc( 8 );
|
||||
(*list)=malloc( 2 * sizeof(char **) );
|
||||
(*list)[0]=gstrdup( entry );
|
||||
(*list)[1]=NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user