Return-Path: X-Original-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA8DB9583 for ; Fri, 22 Jun 2012 11:47:20 +0000 (UTC) Received: (qmail 4909 invoked by uid 500); 22 Jun 2012 11:47:20 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 4859 invoked by uid 500); 22 Jun 2012 11:47:20 -0000 Mailing-List: contact ooo-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-issues@incubator.apache.org Delivered-To: mailing list ooo-issues@incubator.apache.org Received: (qmail 4846 invoked by uid 99); 22 Jun 2012 11:47:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 11:47:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.123] (HELO sif.zones.apache.org) (140.211.11.123) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 11:47:18 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id 647A14E94; Fri, 22 Jun 2012 11:46:56 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: [Bug 119991] There is a memory leak in function SvxUnoDrawPool::~SvxUnoDrawPool() Date: Fri, 22 Jun 2012 11:46:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: performance X-Bugzilla-Component: www X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chao.dev.h@gmail.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: zhangjf@apache.org X-Bugzilla-Target-Milestone: not determined X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/ooo/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/ooo/show_bug.cgi?id=119991 --- Comment #6 from ChaoHuang --- (In reply to comment #5) > ALG: Unfortunately this leads to problems. When deleting the secondary pool > first, it still has it's master set (pMaster) and asserts this. The correct > way is to first delete the master pool (mpDefaultsPool) which rsets the > pMaster at the pSecondaryPool, and then pSecondaryPool. See e.g. how > SdrModel::~SdrModel destructs it's pool. > Comitted as r1352830. hi, Armin Thanks for your correction on the sequence. I learnt a lot in this mistake. You are a nice man. -- You are receiving this mail because: You are on the CC list for the bug.