Commit f83f9df3 authored by Rafaël Carré's avatar Rafaël Carré

Remove a memleak

parent e41147c8
...@@ -250,7 +250,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -250,7 +250,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* Get the executable name (similar to the basename command) */ /* Get the executable name (similar to the basename command) */
if( i_argc > 0 ) if( i_argc > 0 )
{ {
const char *exe = strdup( ppsz_argv[0] ); const char *exe = ppsz_argv[0];
const char *tmp = exe; const char *tmp = exe;
while( *exe ) while( *exe )
{ {
......
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