Hi All,

I have a dll in windows which uses NSS 3.11.4 and NSPR 3.6.4.
The dll does a PR_Init during Load.

Now, I have an application(.exe) which loads this dll dynamically
using LoadLibrary and then unloads it using FreeLibrary.
So after LoadLibrary and FreeLibrary i expect NO memory leak in my
application.

But however i see an increase of 2 threads the moment a call to
PR_Init is made. And also there is a memory leak of 4K after
FreeLibrary.

Can anybody guess if the NSPR library is completely deinitialized and
removed from memory when my above program calls FreeLibrary???? I
believe this should be the case and the Windows shouldnt retain the
NSS or NSPR libraries or their resources for any reason in memory....

Also, If i call PR_Cleanup as part of my FreeLibrary(Dll Unload)
routine, then the whole application just hangs????

Can anyone help me out here!

Thanks
Vinu

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to