ID: 9718
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: COM related
Description: Memory leak when passing String values into methods through COM

Found the problem.
It only leaks memory, if I pass a CONSTANT from PHP to the COM object.
All I have to do now is rewrite the php so that I'm passing a variable, not a 
constant.

Probably this issue can be closed after someone has a look into it.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-12 21:48:59] [EMAIL PROTECTED]
I added methods to pass String values into the static variables.
Passing String values into method in COM object also leaks memory.

Example:

COM object has method test(String a) and a static variable b
The method sets the variable b to a.

In PHP, I execute the COM object's method:

$t_obj->test("This is a test string.");

Memory leak when passing String into COM object.

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=9718


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to