F
fmadelino
Hello,
I hope that some one can explain the following behavior.
......
char *lpDummy = NULL;
TheFunction(&lpDummy);
if (lpDummy) free(lpDummy);
......
In the body of TheFunction memory is allocated for
the pointer lpDummy.
When i try to free it raises an error in debug mode
(Visual C++). The message is "DAMAGE: after Normal block ....."
TIA
Filipe Madelino
I hope that some one can explain the following behavior.
......
char *lpDummy = NULL;
TheFunction(&lpDummy);
if (lpDummy) free(lpDummy);
......
In the body of TheFunction memory is allocated for
the pointer lpDummy.
When i try to free it raises an error in debug mode
(Visual C++). The message is "DAMAGE: after Normal block ....."
TIA
Filipe Madelino