Free_extended_data() called twice

Fran=?utf-8?B?w6c=?=ois Laupretre francois.laupretre-prestataire at calyon.com
Fri Jun 10 18:38:52 CEST 2005


Sorry for posting so many messages but...

I suspect a problem at the end of several CGI's execution. In extinfo, for
example, at the end of main(), it calls free_memory, and then
free_extended_data. But free_memory itself calls free_object_data, which
calls free_extended_data. So, free_extended_data is called twice and, the
second time, it frees again his pointers (that's why I try to always set the
pointers to NULL after freeing them, even when I won't use them any more).

Not sure, but if I am right, one of the calls should be suppressed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050610/f924fcd1/attachment.html>
-------------- next part --------------
Ce message et ses pièces jointes (le "message") est destiné à l'usage    
exclusif de son destinataire.                                            
Si vous recevez ce message par erreur, merci d'en aviser immédiatement   
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant  
être altéré à notre insu,  CALYON Corporate and Investment Bank                              
ne peut pas être engagé par son contenu. Tous droits réservés. 
          
This message and/or any  attachments (the "message") is intended for     
the sole use of its addressee.                                            
If you are not the addressee, please immediately notify the sender and    
then destroy the message.  As this message and/or any attachments may 
have been altered without our knowledge,  its content  is not legally 
binding on CALYON Corporate and Investment Bank. All rights reserved.                                                                


More information about the Developers mailing list