Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100755 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45341 invoked from network); 22 Sep 2017 16:32:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2017 16:32:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.216.181 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.216.181 mail-qt0-f181.google.com Received: from [209.85.216.181] ([209.85.216.181:44112] helo=mail-qt0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/ED-62331-32B35C95 for ; Fri, 22 Sep 2017 12:32:36 -0400 Received: by mail-qt0-f181.google.com with SMTP id o13so1603596qtf.1 for ; Fri, 22 Sep 2017 09:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hoBLQvuKeXaLSt86pI1hTlAMVwmsq4GcfREA6THjEAs=; b=qto5fmull8CFN43FXz1Urho9Gs2nZ75cM1K3WM5VgfGg0HwXu75v/7uiCW+o7Pm5E3 unBMAzKII1c24oe91kzLlqsagiKTWqien7ikQrZat4Yj56siY3hXhTipdyhUwLO5cbp/ K2Ras5YWa+Sm4cAOKYp2I5GLuhZVv2iZt17Xzg6Gb9legaEfl1G3PT694JiMIc6ejGZ5 opvM+wTlm3EjOvg9hMorqReuYMpni/lxRQY9UnNKNX9inJIwRijyNH6cFiGryFMkGxXR MWenHmZVKdALdTxKcAqS4+lAAncEOJPk4MXoddBnwzwXyfM9xLFTGgVBwvc2+zElYsud G12w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=hoBLQvuKeXaLSt86pI1hTlAMVwmsq4GcfREA6THjEAs=; b=OQunPZ69xeueyJEkqsuRTOfhGGcMmJO2Eh8BxdHH+36Lq/QQFYmx8S/xvrUnGcmSTB RBJRi45OU3lusx4znRgJLgOFsR0GpJy5bGB8vkzlI7rIjsaBIOLgHEwJX5WYsFdp+zfG YM1En/ffyBlSMjXWLH0nsE1QAbSp5glFVmRecqks85+cpC8RnFLKSL9zlRwHK9DaeD00 rSEo9Nym3VkzNHXrQ10M0ZbUguj1XionwYLD8u8D1lPN7ADK+2A4TvzrtokMLFcRvJJK luocL24Z+Nx/sPQQflwiIUai+kD21EOkRukAbddvSpT1hnYtWMuUubPxP35vXJ99hyLP XG/A== X-Gm-Message-State: AHPjjUjkiobvtCh5bDhInm2xla0IAsj9kZlvnHDc0rgN6Y41hWLQmecu l1DXHpQbWle0iRchaO9vZEWIZWUTUB0Z7gvI6svSAg== X-Google-Smtp-Source: AOwi7QCO5B6ijdMFDzWrKCn8QSuC0dNbc+w31GW4foAt8gAn1jJRSjOv3ctO01z1tWNHng8aiC6Br2Z054SqOrIgxsw= X-Received: by 10.200.40.146 with SMTP id i18mr9183647qti.94.1506097953265; Fri, 22 Sep 2017 09:32:33 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.132.3 with HTTP; Fri, 22 Sep 2017 09:32:32 -0700 (PDT) X-Originating-IP: [206.252.215.26] In-Reply-To: <29B0DEA4-2022-4656-8A61-C3D89DB8D5D2@saxonica.com> References: <4DE419BB-2630-44B8-B4E7-98E17BEBE749@saxonica.com> <29B0DEA4-2022-4656-8A61-C3D89DB8D5D2@saxonica.com> Date: Fri, 22 Sep 2017 12:32:32 -0400 X-Google-Sender-Auth: 9GEAT_nALm4O7oQtopCGYhIjQ9Q Message-ID: To: "O'Neil Delpratt" Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] PHP extension - Saxon/C From: pollita@php.net (Sara Golemon) On Fri, Sep 22, 2017 at 12:21 PM, O'Neil Delpratt wrote: > I still have the memory leak without that line. I think I was thinking I need to add a refcount to the XdmNode object, but maybe I am wrong. > What's the shortest possible script you can reproduce the leak with? Is (new XQueryProcessor()) enough? Do you need to call particular methods (like this one) with certain args?