|
Dear All,
I am not gettting any errors
when I try to solve the problem of freeing memory in this fashion.
My present doubt is whether the
transcoded (twice) memory below, will be deleted by itself or
not...?
My code is:
char* TempAttrvalue
;
int L = strlen( map.getNodeValue().transcode()); // map is a DOM_Node TempAttrvalue = ( char*) malloc(L+1); XMLString::copyString(TempAttrvalue,map.getNodeValue().transcode()); XMLString::trim(TempAttrvalue); ---
---
---
free(TempAttrvalue);
Thanks for any
help.
Regards
Rengan ********************************************* Read DIGITALLY & Save TREES !! ********************************************* |
- RE: Is this another solution to transcoded memory prob... renganathan
- RE: Is this another solution to transcoded memory... Samar Abbas Lotia
- re: Is this another solution to transcoded memory... Michael D. Crawford
