Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 8469 invoked from network); 12 Jun 2006 07:00:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 07:00:44 -0000 Received: (qmail 98241 invoked by uid 500); 12 Jun 2006 07:00:42 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 97995 invoked by uid 500); 12 Jun 2006 07:00:41 -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 97984 invoked by uid 500); 12 Jun 2006 07:00:41 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 97981 invoked by uid 99); 12 Jun 2006 07:00:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 00:00:40 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 00:00:40 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 580CB1A983A; Mon, 12 Jun 2006 00:00:20 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r413593 - /webservices/axis2/trunk/c/woden/src/builder/reader.c Date: Mon, 12 Jun 2006 07:00:19 -0000 To: axis2-cvs@ws.apache.org From: damitha@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060612070020.580CB1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: damitha Date: Mon Jun 12 00:00:19 2006 New Revision: 413593 URL: http://svn.apache.org/viewvc?rev=413593&view=rev Log: reader is now compiling without warnings Modified: webservices/axis2/trunk/c/woden/src/builder/reader.c Modified: webservices/axis2/trunk/c/woden/src/builder/reader.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/builder/reader.c?rev=413593&r1=413592&r2=413593&view=diff ============================================================================== --- webservices/axis2/trunk/c/woden/src/builder/reader.c (original) +++ webservices/axis2/trunk/c/woden/src/builder/reader.c Mon Jun 12 00:00:19 2006 @@ -129,6 +129,7 @@ /* A map of imported schema definitions keyed by schema location URI */ axis2_hash_t *f_imported_schemas; axis2_woden_ext_registry_t *f_ext_reg; + axis2_uri_t *f_uri; }; @@ -449,6 +450,7 @@ reader_impl->f_imported_schemas = NULL; reader_impl->f_ext_reg = NULL; + reader_impl->f_uri = NULL; reader_impl->reader.ops = AXIS2_MALLOC(env->allocator, sizeof(woden_reader_ops_t)); @@ -499,6 +501,12 @@ reader_impl->f_ext_reg = NULL; } + if(reader_impl->f_uri) + { + AXIS2_URI_FREE(reader_impl->f_uri, env); + reader_impl->f_uri = NULL; + } + if((&(reader_impl->reader))->ops) { AXIS2_FREE(env->allocator, (&(reader_impl->reader))->ops); @@ -3751,13 +3759,13 @@ AXIS2_PARAM_CHECK(env->error, uri_str, NULL); reader_impl = INTF_TO_IMPL(reader); - if(reader_impl->uri) + if(reader_impl->f_uri) { - AXIS2_URI_FREE(reader_impl->uri, env); - reader_impl->uri = NULL; + AXIS2_URI_FREE(reader_impl->f_uri, env); + reader_impl->f_uri = NULL; } - reader_impl->uri = axis2_uri_parse_string(env, uri_str); + reader_impl->f_uri = axis2_uri_parse_string(env, uri_str); - return reader_impl->uri; + return reader_impl->f_uri; } --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org