Author: damitha
Date: Thu Feb 14 02:40:06 2008
New Revision: 627701

URL: http://svn.apache.org/viewvc?rev=627701&view=rev
Log:
Fixing a segfault by checking for value

Modified:
    webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c

Modified: webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c
URL: 
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c?rev=627701&r1=627700&r2=627701&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c 
(original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c Thu Feb 
14 02:40:06 2008
@@ -1469,7 +1469,8 @@
         rm_msg_ctx, internal_seq_id, acks_to, seq_prop_mgr);
     sandesha2_msg_ctx_set_flow(create_seq_rm_msg, env, 
         SANDESHA2_MSG_CTX_OUT_FLOW);
-    
+    if(!create_seq_rm_msg)
+        return AXIS2_FAILURE;
     create_seq_part = sandesha2_msg_ctx_get_create_seq(create_seq_rm_msg, env);
     {
         sandesha2_seq_property_bean_t *to_epr_bean = NULL;



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to