Nested __EXCEPT_PAGE_FAULT handlers?

Eric Pouech eric.pouech at
Sat May 20 03:45:07 CDT 2006

Juan Lang wrote:
> I was checking out a small memory leak in one of my crypt32 tests, and
> I've finally found the culprit:  a test that deliberately causes a page
> fault (to check that it's handled.)  It's still handled, but the function
> that generates the page fault, CRYPT_AsnEncodeRdn, doesn't have its __TRY
> block executed.  Instead, its caller, CRYPT_AsnEncodeName, does.  Thus
> memory allocated in CRYPT_AsnEncodeRdn is never freed.
> Is there anything I can do about that?

are you sure about that ? I just tested it here and it works fine.

Eric Pouech

More information about the wine-devel mailing list