freeing the user data

"Ajit Kumar" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <000401c5a933$8710ab50$ac02a8c0@Ajit>
 
 
I was trying to do the following-
 
1. I had one XML document I  did some processing and stored the relevant
information in the user data structure ( XML_SetUserData( parserobject,
user data)). After that I freed the parser object but not the user data.
2. again I created another parser object and used the same user data
structure in a loop. In each loop I am creating a new parser object
(also freeing it)  but the same user data structure. Now after the loop
is done, I am trying to free the user data. Here where I am not being
able to free the user data. Why is this problem occurring though I am
allocating memory to user data only once and trying to free it also one
time. Why I am not being able to free the user data?
 
 
Regards
Ajit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.