Using mapped function directly



In my View I have the following code-
BEGIN_MESSAGE_MAP(CEx30aView, CEditView)
//{{AFX_MSG_MAP(CEx30aView)
ON_COMMAND(ID_INTERNET_START_SERVER, OnInternetStartServer)
.......
I want to launch the function OnInternetStartServer myself so I use the
following somewhere
CEx30aView::OnInternetStartServer();

It works fine but I have a memory leak.
does anyone knows how to do that correctly?

Regards
Galia


.