OSSP CVS Repository

ossp - Check-in [2802]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2802
Date: 2002-Nov-09 17:55:23 (local)
2002-Nov-09 16:55:23 (UTC)
User:mlelstv
Branch:
Comment: fix cfg_grid_destroy

PR: Submitted by: Reviewed by: Approved by: Obtained from:

Tickets:
Inspections:
Files:
ossp-pkg/cfg/cfg_grid.c      1.2 -> 1.3     1 inserted, 0 deleted

ossp-pkg/cfg/cfg_grid.c 1.2 -> 1.3

--- cfg_grid.c   2002/07/17 15:04:08     1.2
+++ cfg_grid.c   2002/11/09 16:55:23     1.3
@@ -319,6 +319,7 @@
     while (seg_last != CFG_RING_SENTINEL(&grid->g_seg, cfg_grid_seg_t, gs_link)) {
         seg = CFG_RING_NEXT(seg_last, gs_link);
         free(seg_last);
+        seg_last = seg;
     }
 
     /* destroy top-level grid structure */

CVSTrac 2.0.1