It seems that the most likely problem is that it ClntFreeis actually a macro that expands to use the SEH block __try. It seems that nothing like the surface makes sense, since macro and macro seem to be the most likely cause here.
Have you looked at the definition ClntFreeto see if it is a macro or not?
source
share