[vlc] Memory problem

Rick Davis rickdavisjr at comcast.net
Mon Dec 6 12:47:45 CET 2004


All,
	I am using vlc-0.7.1 on Windows CE 5.0. I have created an activex
component that wraps around VLC. I have play and stop methods for my
control. They both work fine. The problem I am seeing is memory appears to
be getting lost after each play/stop sequence.

	My play function does the following
	setup m_argc and m_argv
	VLC_Create ();
	VLC_Init (0, m_argc, m_argv);
	VLC_Play(0);

	My stop function does the following
	VLC_Die (0);
	VLC_Stop(0);
	VLC_Destroy(0);
	if (m_pszArgs)
		free (m_pszArgs);
	m_pszArgs = NULL;
	if (m_argv)
	{
		i = 0;
		while (i != m_argc)
		{
			free (m_argv[i]);
			i++;
		}
		free (m_argv);
	}
	m_argv = NULL;

	Am I missing any other cleanup I need to do?

	Thank in advance,
--
	Rick
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/ To
unsubscribe, please read http://www.videolan.org/support/lists.html


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list