IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16449


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

add FreeINputs

File:
1 edited

Legend:

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

    r15873 r16449  
    1010  NINPUTS = 10;
    1111  ALLOCATE (inputs, char *, NINPUTS);
     12}
     13
     14void FreeInputs () {
     15  int i;
     16  for (i = 0; i < Ninputs; i++) {
     17    free (inputs[i]);
     18  }
     19  free (inputs);
    1220}
    1321
Note: See TracChangeset for help on using the changeset viewer.