IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16466


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

plug leak

Location:
trunk/Ohana/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libkapa/src/IOfuncs.c

    r13479 r16466  
    8282  va_end (argp);
    8383
     84  free (message);
     85
    8486  return (status);
    8587}
     
    139141  va_end (argp);
    140142
     143  free (message);
     144
    141145  return (1);
    142146}
     
    158162      fprintf (stderr, "extra data in buffer: %d bytes\n", Nbytes);
    159163      fprintf (stderr, "garbage: %s\n", answer);
     164      free (answer);
    160165      return (FALSE);
    161166  }
     167  free (answer);
    162168  return (TRUE);
    163169}
  • trunk/Ohana/src/libohana/src/config.c

    r10073 r16466  
    9393    }
    9494  }
     95  free (find);
    9596
    9697  /* we eliminate this option: this is just confusing */
     
    107108    }
    108109  }
    109   free (find);
    110110# endif
    111111
  • 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.