IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 11, 2005, 9:42:34 PM (21 years ago)
Author:
eugene
Message:

fixed memory leaks

File:
1 edited

Legend:

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

    r3187 r3901  
    11# include "opihi.h"
    22# define VERBOSE 0
     3
     4static int Ncalls = 0;
    35
    46int command (char *line, char **outline) {
     
    79  char **argv, **targv;
    810  Command *cmd;
     11
     12  Ncalls ++;
    913
    1014  /* force a space between ! and first word: !ls becomes ! ls */
     
    7377
    7478}
     79
     80void print_ncals () {
     81  fprintf (stderr, "Ncalls command: %d\n", Ncalls);
     82}
Note: See TracChangeset for help on using the changeset viewer.