IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16446


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

plug leaks

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

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/cut.c

    r7917 r16446  
    7676      yvec[0].elements[i] = value;
    7777    }
     78    free (Vbuf);
    7879    break;
    7980   
     
    108109      yvec[0].elements[i] = value;
    109110    }
     111    free (Vbuf);
    110112    break;
    111113
  • trunk/Ohana/src/opihi/cmd.data/vgauss.c

    r10307 r16446  
    1010    return (FALSE); \
    1111  } \
    12   V = atof (c);
     12  V = atof (c); \
     13  free (c);
    1314
    1415int vgauss (int argc, char **argv) {
     
    8384  }
    8485
     86  free (dy);
    8587  mrqfree (Npar);
    8688  return (TRUE);
  • trunk/Ohana/src/opihi/cmd.data/vmaxwell.c

    r10069 r16446  
    1010    return (FALSE); \
    1111  } \
    12   V = atof (c);
     12  V = atof (c); \
     13  free (c);
    1314
    1415int vmaxwell (int argc, char **argv) {
     
    8384  }
    8485
     86  free (dy);
    8587  mrqfree (Npar);
    8688  return (TRUE);
  • trunk/Ohana/src/opihi/lib.shell/startup.c

    r15008 r16446  
    6666      read_history (opihi_history);
    6767    }
     68    if (opihi_history) free (opihi_history);
    6869  }
    6970
     
    126127      status = command (line, &outline, TRUE);
    127128      if (outline != (char *) NULL) free (outline);
     129      if (rcfile) free (rcfile);
    128130    }
    129131     
Note: See TracChangeset for help on using the changeset viewer.