- **status**: unassigned --> accepted
- **Version**:  --> 4.2


---

** [tickets:#529] Corrections to do in CPD code**

**Status:** accepted
**Created:** Wed Jul 31, 2013 10:00 AM UTC by Ramesh
**Last Updated:** Wed Jul 31, 2013 10:00 AM UTC
**Owner:** A V Mahesh (AVM)

Corrections to do in CPSv code.

(1)  In function cpd_sb_proc_ckpt_dest_add()

line: 499   
 else {
          TRACE_4("cpd standby dest add evt failed for ckptid: 
%llx",msg->info.dest_add.ckpt_id);
     return NCSCC_RC_OUT_OF_MEM;
        }

Before return, should free()  "nref_info" and "cref_info".

line: 562
free_mem:
        if (node_info == NULL) {

    }

If line:513 saClmClusterNodeGet() fails, should free "nref_info" and "cref_info"


(2) In function cpd_ckpt_reploc_node_delete()

line 437: rc = cpd_ckpt_reploc_node_add(&cb->ckpt_reploc_tree, 
ckpt_reploc_node, cb->ha_state, cb->immOiHandle);
Should be removed else..  if "ckpt_reploc_node" has to retain then do not 
delete it subsequently.

(3) In function cpd_ckpt_ref_info_add() , "cref_info" is not added to the list 
if the same "ckpt_id" exist. In this case we have to free() "cref_info".

(4) Similarly, In function cpd_node_ref_info_add() , "nref_info" is not added 
to the list if the same "dest" exist. In this case we have to free() 
"nref_info".




---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to