mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
ntservice: Fix potential leak
This commit is contained in:
parent
dc1f03424e
commit
4deac4d605
@ -209,8 +209,8 @@ static int NTServiceInstall( intf_thread_t *p_intf )
|
||||
{
|
||||
strcat( psz_path, " " );
|
||||
strcat( psz_path, psz_extra );
|
||||
free( psz_extra );
|
||||
}
|
||||
free( psz_extra );
|
||||
|
||||
SC_HANDLE service =
|
||||
CreateServiceA( handle, p_sys->psz_service, p_sys->psz_service,
|
||||
|
Loading…
Reference in New Issue
Block a user