Re: properly freeing memory

From: Date: Wed, 16 Sep 1998 10:55:46 +0000
Subject: Re: properly freeing memory
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1157@lists.php.net to get a copy of this message
[Lars Torben Wilson <torben@coastnet.com>] | | | I'm hoping for enlightenment on a quick point of PHP memory | management. I've hacked basic_functions.c to add | register_shutdown_method(), and to allow it and | register_shutdown_function() to accept parameter lists. | | The point is this: I'm passing the function/object information like | this (which might suck but does work :): | | ------------------------------------ | [...snip...] | ------------------------------------- | | | And I *thought* I was cleaning up properly in | user_shutdown_function_dtor() (below), but I guess not, since I keep | getting 'Freeing 32 bytes...' messages when I run it (which I don't | get when I don't use the hashes). I've been tracing through but I'm | missing something. But what line does the 'Freeing 32 bytes...' message refer to? :-) - Stig -- Stig S. Bakken Guardian Networks AS mailto:ssb@guardian.no Trondheim, Norway http://www.pvv.org/~ssb/ http://www.guardian.no/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1157) next »