OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_lab.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_lab.c 1.2 -> 1.3

--- rc_lab.c     2003/05/20 15:06:41     1.2
+++ rc_lab.c     2003/06/03 15:26:52     1.3
@@ -67,6 +67,7 @@
     pLabel->m_ppSecvec = realloc(pLabel->m_ppSecvec, sizeof(rc_section_t *)\
         * (pLabel->m_nSecs + 1));
     pLabel->m_ppSecvec[pLabel->m_nSecs] = sectionNew(pInsec->m_szName);
+    pLabel->m_ppSecvec[pLabel->m_nSecs + 1] = NULL;
 
     /* Simple value copy */
     pLabel->m_ppSecvec[pLabel->m_nSecs]->m_nPri  = pInsec->m_nPri;

CVSTrac 2.0.1