I use Code Guard VERSION BC5!!! to debug my 16-bit windows app. and I get a strange
error in the log file:
It says that one of my DLL's did not free the local memory (very small
amount, like 81 bytes) allocated with malloc. It happens even if I don't
call any of the functions in the DLL. All I do is just load the program
and quit it, even though the DLL is loaded automatically (I included the
.lib file in the project), i am shure i am not using any functions from
it, and still I get this message.
I tried searching the "call tree", but the call to malloc appears to
originate from the static run-time library and is not connected with ant
part of the code I have written myself. Also, another error that I get
is that one of the modules is not freed (LoadLibrary is called one time
more then FreeLibrary). This is also very strange since I do not load
any DLL's explicitly, only through .lib files, and the program
Any help would be greatly appreciated!
Grigory Kalinovsky (email@example.com)