Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 80874 invoked from network); 7 Jan 2009 04:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2009 04:14:07 -0000 Received: (qmail 78234 invoked by uid 500); 7 Jan 2009 04:14:07 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 78217 invoked by uid 500); 7 Jan 2009 04:14:07 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 78208 invoked by uid 99); 7 Jan 2009 04:14:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 20:14:07 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2009 04:14:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51C96234C485 for ; Tue, 6 Jan 2009 20:13:44 -0800 (PST) Message-ID: <313685274.1231301624334.JavaMail.jira@brutus> Date: Tue, 6 Jan 2009 20:13:44 -0800 (PST) From: "Manjula Peiris (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2C-1324) Memory leak in axis2_core_utils_free_rest_map() In-Reply-To: <524146832.1231249604447.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manjula Peiris reassigned AXIS2C-1324: -------------------------------------- Assignee: Manjula Peiris > Memory leak in axis2_core_utils_free_rest_map() > ----------------------------------------------- > > Key: AXIS2C-1324 > URL: https://issues.apache.org/jira/browse/AXIS2C-1324 > Project: Axis2-C > Issue Type: Bug > Affects Versions: Current (Nightly) > Environment: Linux > Reporter: Chintana Wilamuna > Assignee: Manjula Peiris > Priority: Minor > Attachments: core_utils.c.patch > > > In axis2_core_utils_free_rest_map() defined in src/core/util/core_utils.c mapping_struct is not freed. Valgrind output follows, > ==5573== > ==5573== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 37 from 1) > ==5573== malloc/free: in use at exit: 248 bytes in 4 blocks. > ==5573== malloc/free: 11,040 allocs, 11,036 frees, 497,370 bytes allocated. > ==5573== For counts of detected errors, rerun with: -v > ==5573== searching for pointers to 4 not-freed blocks. > ==5573== checked 135,768 bytes. > ==5573== > ==5573== 12 bytes in 1 blocks are definitely lost in loss record 1 of 3 > ==5573== at 0x4006AEE: malloc (vg_replace_malloc.c:207) > ==5573== by 0x405EF62: axutil_allocator_malloc_impl (allocator.c:75) > ==5573== by 0x40E7324: axis2_core_utils_prepare_rest_mapping (core_utils.c:546) > ==5573== by 0x805C7B2: axis2_svc_add_rest_mapping (svc.c:1318) > ==5573== by 0x806C2A1: axis2_svc_builder_populate_svc (svc_builder.c:454) > ==5573== by 0x80756FA: axis2_arch_reader_build_svc_grp (arch_reader.c:223) > ==5573== by 0x80752A3: axis2_arch_reader_process_svc_grp (arch_reader.c:127) > ==5573== by 0x8068AF0: axis2_dep_engine_do_deploy (dep_engine.c:1509) > ==5573== by 0x8076791: axis2_ws_info_list_update (ws_info_list.c:398) > ==5573== by 0x807356C: axis2_repos_listener_update (repos_listener.c:281) > ==5573== by 0x807363D: axis2_repos_listener_init (repos_listener.c:307) > ==5573== by 0x807304E: axis2_repos_listener_create_with_folder_name_and_dep_engine (repos_listener.c:130) > ==5573== > ==5573== LEAK SUMMARY: > ==5573== definitely lost: 12 bytes in 1 blocks. > ==5573== possibly lost: 0 bytes in 0 blocks. > ==5573== still reachable: 236 bytes in 3 blocks. > ==5573== suppressed: 0 bytes in 0 blocks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.