Hello to you all,

I have been working with a dll that i have noticed since start that it leak memory.
After some fixes it doesn't leak that much but still there is something there leaking.

i got to the point of testing something like this:

int __declspec(dllexport) __stdcall query(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause) {
return 3;
}

and leaks at same speed.

keep in mind that i can see the leak because i am running "query" 6000 times.

My question is that anyone has ever noticed something like this?
I believe there is a leak in the mirc dll call, but this is just a suspicion.
If i unload the dll all the mem is freed.

Thanks for your time.