Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0BA7017936 for ; Tue, 3 Mar 2015 14:54:26 +0000 (UTC) Received: (qmail 18541 invoked by uid 500); 3 Mar 2015 14:54:25 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 18514 invoked by uid 500); 3 Mar 2015 14:54:25 -0000 Mailing-List: contact dev-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list dev@corinthia.incubator.apache.org Received: (qmail 18503 invoked by uid 99); 3 Mar 2015 14:54:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 14:54:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Mar 2015 14:54:24 +0000 Received: (qmail 18132 invoked by uid 99); 3 Mar 2015 14:54:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 14:54:04 +0000 Date: Tue, 3 Mar 2015 14:54:04 +0000 (UTC) From: "Peter Kelly (JIRA)" To: dev@corinthia.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COR-49) Part 2 of the x*alloc project. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COR-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345168#comment-14345168 ] Peter Kelly commented on COR-49: -------------------------------- By the way, note that you'll also need to do an xstrdup - this is the only other memory-allocating function we're using in the C library that I can think of. There may be others that have skipped my attention. > Part 2 of the x*alloc project. > ------------------------------- > > Key: COR-49 > URL: https://issues.apache.org/jira/browse/COR-49 > Project: Corinthia > Issue Type: Improvement > Components: DocFormats - API, DocFormats - core, DocFormats - filters, DocFormats - ODF filter, DocFormats - OOXML filter, DocFormats - platform > Affects Versions: 0.5 > Reporter: Gabriela Gibson > Priority: Minor > Attachments: malloc.logmesg, malloc.patch > > > 1) changes to Wrapper.c > 2) changing calloc to xcalloc > 3) changing realloc to xrealloc > 4) changing malloc to xmalloc -- This message was sent by Atlassian JIRA (v6.3.4#6332)