IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16441


Ignore:
Timestamp:
Feb 13, 2008, 3:26:50 PM (18 years ago)
Author:
eugene
Message:

add FreeLists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/ListOps.c

    r14139 r16441  
    1010  ALLOCATE (lists, List, 1);
    1111  return;
     12}
     13
     14void FreeLists () {
     15
     16  int i, j;
     17
     18  for (i = 0; i < Nlists; i++) {
     19    for (j = 0; j < lists[i].Nlines; j++) {
     20      free (lists[i].line[j]);
     21    }
     22    free (lists[i].line);
     23  }
     24  free (lists);
    1225}
    1326
Note: See TracChangeset for help on using the changeset viewer.