IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16451


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

add FreeJobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/JobOps.c

    r15874 r16451  
    1414  ALLOCATE (jobs, Job *, NJOBS);
    1515  ActiveJob = -1;
     16}
     17
     18void FreeJobs () {
     19  int i;
     20  for (i = 0; i < Njobs; i++) {
     21    FreeJob (jobs[i]);
     22  }
     23  free (jobs);
    1624}
    1725
Note: See TracChangeset for help on using the changeset viewer.