ID:               35590
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bkw at weisshuhn dot de
-Status:           Open
+Status:           Closed
 Bug Type:         XMLRPC-EPI related
 Operating System: Linux Fedora Core 2,3,4
 PHP Version:      4.4.1
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2005-12-07 20:57:04] bkw at weisshuhn dot de

Patch against cvs PHP_4_4:

Index: ext/xmlrpc/xmlrpc-epi-php.c
===================================================================
RCS file: /repository/php-src/ext/xmlrpc/xmlrpc-epi-php.c,v
retrieving revision 1.24.2.4.4.2
diff -u -p -r1.24.2.4.4.2 xmlrpc-epi-php.c
--- ext/xmlrpc/xmlrpc-epi-php.c 5 Oct 2005 16:41:18 -0000      
1.24.2.4.4.2
+++ ext/xmlrpc/xmlrpc-epi-php.c 7 Dec 2005 19:55:12 -0000
@@ -686,6 +686,9 @@ PHP_FUNCTION(xmlrpc_encode_request)
          XMLRPC_RequestFree(xRequest, 1);
       }
    }
+   if (out.xmlrpc_out.xml_elem_opts.encoding != ENCODING_DEFAULT) {
+      efree(out.xmlrpc_out.xml_elem_opts.encoding);
+   }
 }
 /* }}} */

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

[2005-12-07 20:08:14] bkw at weisshuhn dot de

Description:
------------
The Memory Leak of Bug #33523 was fixed in the php-5-Branch only.
php-4.4.1 still has it.

Patch:
http://cvs.php.net/diff.php/php-src/ext/xmlrpc/xmlrpc-epi-php.c?r1=1.37&r2=1.38&ty=u



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


-- 
Edit this bug report at http://bugs.php.net/?id=35590&edit=1

Reply via email to