Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 34387 invoked from network); 2 Feb 2006 10:49:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Feb 2006 10:49:04 -0000 Received: (qmail 5240 invoked by uid 500); 2 Feb 2006 10:49:02 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 4995 invoked by uid 500); 2 Feb 2006 10:49:01 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 4984 invoked by uid 500); 2 Feb 2006 10:49:01 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 4981 invoked by uid 99); 2 Feb 2006 10:49:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 02:49:01 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Feb 2006 02:49:00 -0800 Received: (qmail 34172 invoked by uid 65534); 2 Feb 2006 10:48:40 -0000 Message-ID: <20060202104840.34169.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r374347 - /webservices/axis2/trunk/c/modules/core/description/param.c Date: Thu, 02 Feb 2006 10:48:39 -0000 To: axis2-cvs@ws.apache.org From: damitha@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: damitha Date: Thu Feb 2 02:48:34 2006 New Revision: 374347 URL: http://svn.apache.org/viewcvs?rev=374347&view=rev Log: there was a but of not initializing a function pointer. so when there is no services.xml file in a service server segfaults when trying to free params. Modified: webservices/axis2/trunk/c/modules/core/description/param.c Modified: webservices/axis2/trunk/c/modules/core/description/param.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/param.c?rev=374347&r1=374346&r2=374347&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/core/description/param.c (original) +++ webservices/axis2/trunk/c/modules/core/description/param.c Thu Feb 2 02:48:34 2006 @@ -117,6 +117,7 @@ AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); return NULL; } + param_impl->param.ops->value_free = NULL; /* initialize ops */ param_impl->param.ops->get_name = axis2_param_get_name; param_impl->param.ops->get_value = axis2_param_get_value;