IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2008, 4:30:07 PM (18 years ago)
Author:
eugene
Message:

plug leak

Location:
trunk/Ohana/src/opihi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/shell.c

    r16059 r16466  
    33static char *defshell = "/bin/sh";
    44static char *cmdflag = "-c";
     5
     6// XXX add the ability to exec without a separate shell
     7// XXX add an option to modify the timeout
    58
    69int shell (int argc, char **argv) {
     
    4245    exit (1);
    4346  }
     47  free (args[2]);
    4448  free (args);
    4549 
  • trunk/Ohana/src/opihi/lib.data/book.c

    r16436 r16466  
    3939    for (i = 0; i < book[0].Npages; i++) {
    4040        FreePage (book[0].pages[i]);
    41         free (book[0].pages[i]);
    4241        free (book[0].pageIDs[i]);
    4342    }
Note: See TracChangeset for help on using the changeset viewer.