Commit b275203f authored by Thomas Guillem's avatar Thomas Guillem

os2: use vlc_alloc helper

parent 4139b272
......@@ -70,7 +70,7 @@ static void IPCHelperThread( void *arg )
/* Read a count of arguments */
DosRead( hpipeIPC, &i_argc, sizeof( i_argc ), &cbActual );
ppsz_argv = malloc( i_argc * sizeof( *ppsz_argv ));
ppsz_argv = vlc_alloc( i_argc, sizeof( *ppsz_argv ));
for( int i_opt = 0; i_opt < i_argc; i_opt++ )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment