Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42881 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55461 invoked from network); 2 Feb 2009 04:07:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2009 04:07:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.116 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.116 us-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [63.205.162.116] ([63.205.162.116:58438] helo=us-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/95-34105-17176894 for ; Sun, 01 Feb 2009 23:07:14 -0500 Received: from [192.168.17.44] ([192.168.17.44]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 1 Feb 2009 20:08:14 -0800 Message-ID: <4986716D.60005@zend.com> Date: Sun, 01 Feb 2009 20:07:09 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Greg Beaver CC: PHP Developers Mailing List References: <4984B9B9.7070103@chiaraquartet.net> In-Reply-To: <4984B9B9.7070103@chiaraquartet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Feb 2009 04:08:14.0446 (UTC) FILETIME=[DEA758E0:01C984EB] Subject: Re: [PHP-DEV] memleak in zend_object_handlers.c From: stas@zend.com (Stanislav Malyshev) Hi! > I don't yet have a short isolating script, but just wanted to give a > heads up that I've been getting a memleak in zend_object_handlers.c on > line 1215 in several scripts running 5.3.0beta1. The code in questions > is in zend_std_object_get_class_name: > > *class_name = estrndup(ce->name, ce->name_length); > > This is never freed. Anyone else seen this leak? I'd say the client of this function is supposed to free it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com