Freeing $1 from zend_language_parser.y

From: Date: Fri, 18 Nov 2011 14:28:36 +0000
Subject: Freeing $1 from zend_language_parser.y
Groups: php.internals 
Request: Send a blank email to internals+get-56396@lists.php.net to get a copy of this message
Is there any reason I would have to free a pointer from the language_parser if I am just storing a reference to $1 I'm doing this: CG(accessor_node) = &$1; And in doing so it is causing a memory leak, only if I add: efree($1.u.constant.value.str.val); Does that memory leak go away. -Clint

« previous php.internals (#56396) next »