freeing zvals ref count

From: Date: Tue, 24 Apr 2012 23:25:39 +0000
Subject: freeing zvals ref count
Groups: php.internals 
Request: Send a blank email to internals+get-60300@lists.php.net to get a copy of this message
Hello, In the extension I'm currently working on, I call add_index_zval and on success, I call Z_ADDREF_P on the new zval. When I'm freeing everything, I need to remove the ref count. Digging through the source code, I found Z_DELREF_P. Would this be the correct macro to call? Is there anything else to keep in mind when calling it? thx

« previous php.internals (#60300) next »