Send Linux-ha-cvs mailing list submissions to
        linux-ha-cvs@lists.linux-ha.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: crm by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)
   2. Linux-HA CVS: lib by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)
   3. Linux-HA CVS: crm by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)
   4. Linux-HA CVS: crm by andrew from 
      (linux-ha-cvs@lists.linux-ha.org)


----------------------------------------------------------------------

Message: 1
Date: Thu,  6 Jul 2006 03:30:29 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : crm

Dir     : linux-ha/crm/admin


Modified Files:
        crm_resource.c crmadmin.c 


Log Message:
Dont delete messages in the send_(ipc|ha)_helpers to make memory leak 
  checking easier
Compensate for CIB configuration growth 
  - enables tracking of almost all memory (de)allocations in the CIB

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/admin/crm_resource.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- crm_resource.c      23 Jun 2006 08:32:00 -0000      1.42
+++ crm_resource.c      6 Jul 2006 09:30:27 -0000       1.43
@@ -1,4 +1,4 @@
-/* $Id: crm_resource.c,v 1.42 2006/06/23 08:32:00 andrew Exp $ */
+/* $Id: crm_resource.c,v 1.43 2006/07/06 09:30:27 andrew Exp $ */
 
 /* 
  * Copyright (C) 2004 Andrew Beekhof <[EMAIL PROTECTED]>
@@ -388,6 +388,7 @@
        IPC_Channel *crmd_channel, const char *host_uname,
        const char *rsc_id, const char *rsc_long_id)
 {
+       int rc = cib_send_failed;
        HA_Message *cmd = NULL;
        crm_data_t *msg_data = NULL;
        crm_data_t *rsc = NULL;
@@ -413,23 +414,26 @@
        crm_free(key);
 
        if(send_ipc_message(crmd_channel, cmd)) {
-               return 0;
+               rc = 0;
        }
-       return cib_send_failed;
+       crm_msg_del(cmd);
+       return rc;
 }
 
 static int
 refresh_lrm(IPC_Channel *crmd_channel, const char *host_uname)  
 {
        HA_Message *cmd = NULL;
+       int rc = cib_send_failed;
        
        cmd = create_request(CRM_OP_LRM_REFRESH, NULL, host_uname,
                             CRM_SYSTEM_CRMD, crm_system_name, our_pid);
        
        if(send_ipc_message(crmd_channel, cmd)) {
-               return 0;
+               rc = 0;
        }
-       return cib_send_failed;
+       crm_msg_del(cmd);
+       return rc;
 }
 
 static int
@@ -928,6 +932,7 @@
                cmd = create_request(CRM_OP_REPROBE, NULL, host_uname,
                                     CRM_SYSTEM_CRMD, crm_system_name, our_pid);
                send_ipc_message(crmd_channel, cmd);
+               crm_msg_del(cmd);
 
        } else if(rsc_cmd == 'R') {
                refresh_lrm(crmd_channel, host_uname);
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/admin/crmadmin.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- crmadmin.c  5 Jul 2006 15:27:01 -0000       1.75
+++ crmadmin.c  6 Jul 2006 09:30:27 -0000       1.76
@@ -1,4 +1,4 @@
-/* $Id: crmadmin.c,v 1.75 2006/07/05 15:27:01 andrew Exp $ */
+/* $Id: crmadmin.c,v 1.76 2006/07/06 09:30:27 andrew Exp $ */
 
 /* 
  * Copyright (C) 2004 Andrew Beekhof <[EMAIL PROTECTED]>
@@ -447,6 +447,7 @@
                        ha_msg_mod(cmd, XML_ATTR_REFERENCE, this_msg_reference);
                }
                send_ipc_message(crmd_channel, cmd);
+               crm_msg_del(cmd);
        }
        
        return ret;




------------------------------

Message: 2
Date: Thu,  6 Jul 2006 03:30:28 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : lib

Dir     : linux-ha/lib/crm/cib


Modified Files:
        cib_native.c 


Log Message:
Dont delete messages in the send_(ipc|ha)_helpers to make memory leak 
  checking easier
Compensate for CIB configuration growth 
  - enables tracking of almost all memory (de)allocations in the CIB





------------------------------

Message: 3
Date: Thu,  6 Jul 2006 03:30:34 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : crm

Dir     : linux-ha/crm/tengine


Modified Files:
        actions.c 


Log Message:
Dont delete messages in the send_(ipc|ha)_helpers to make memory leak 
  checking easier
Compensate for CIB configuration growth 
  - enables tracking of almost all memory (de)allocations in the CIB

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/tengine/actions.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- actions.c   29 May 2006 13:25:16 -0000      1.34
+++ actions.c   6 Jul 2006 09:30:28 -0000       1.35
@@ -1,4 +1,4 @@
-/* $Id: actions.c,v 1.34 2006/05/29 13:25:16 andrew Exp $ */
+/* $Id: actions.c,v 1.35 2006/07/06 09:30:28 andrew Exp $ */
 /* 
  * Copyright (C) 2004 Andrew Beekhof <[EMAIL PROTECTED]>
  * 
@@ -192,6 +192,7 @@
        crm_xml_add(cmd, XML_ATTR_TRANSITION_KEY, counter);
        ret = send_ipc_message(crm_ch, cmd);
        crm_free(counter);
+       crm_msg_del(cmd);
        
        value = g_hash_table_lookup(action->params, 
crm_meta_name(XML_ATTR_TE_NOWAIT));
        if(ret == FALSE) {
@@ -408,6 +409,7 @@
                send_ipc_message(crm_ch, cmd);
        }
 #endif
+       crm_msg_del(cmd);
        
        action->executed = TRUE;
        value = g_hash_table_lookup(action->params, 
crm_meta_name(XML_ATTR_TE_NOWAIT));
@@ -485,6 +487,7 @@
        }
 
        send_ipc_message(crm_ch, cmd);
+       crm_msg_del(cmd);
 
        graph->abort_reason = NULL;
        graph->completion_action = tg_restart;  




------------------------------

Message: 4
Date: Thu,  6 Jul 2006 03:30:34 -0600 (MDT)
From: linux-ha-cvs@lists.linux-ha.org
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : crm

Dir     : linux-ha/crm/pengine


Modified Files:
        pengine.c 


Log Message:
Dont delete messages in the send_(ipc|ha)_helpers to make memory leak 
  checking easier
Compensate for CIB configuration growth 
  - enables tracking of almost all memory (de)allocations in the CIB

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/pengine/pengine.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -3 -r1.117 -r1.118
--- pengine.c   23 Jun 2006 08:33:53 -0000      1.117
+++ pengine.c   6 Jul 2006 09:30:28 -0000       1.118
@@ -1,4 +1,4 @@
-/* $Id: pengine.c,v 1.117 2006/06/23 08:33:53 andrew Exp $ */
+/* $Id: pengine.c,v 1.118 2006/07/06 09:30:28 andrew Exp $ */
 /* 
  * Copyright (C) 2004 Andrew Beekhof <[EMAIL PROTECTED]>
  * 
@@ -189,6 +189,7 @@
                crm_free(graph_file);
                free_xml(log_input);
                crm_free(filename);
+               crm_msg_del(reply);
                
        } else if(strcasecmp(op, CRM_OP_QUIT) == 0) {
                crm_warn("Received quit message, terminating");




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
Linux-ha-cvs@lists.linux-ha.org
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 32, Issue 24
********************************************

Reply via email to