Commit 89dbad52 authored by Gildas Bazin's avatar Gildas Bazin

* src/misc/win32_specific.c: fixed minor memory leak on win32. Patch courtesy...

* src/misc/win32_specific.c: fixed minor memory leak on win32. Patch courtesy of Brian Robb (vascy at hotmail).
parent 3605f503
......@@ -358,5 +358,11 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
*****************************************************************************/
void system_End( vlc_t *p_this )
{
if( p_this && p_this->p_libvlc && p_this->p_libvlc->psz_vlcpath )
{
free( p_this->p_libvlc->psz_vlcpath );
p_this->p_libvlc->psz_vlcpath = NULL;
}
WSACleanup();
}
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