IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5524 for trunk/psLib/src/sys


Ignore:
Timestamp:
Nov 16, 2005, 10:52:23 AM (20 years ago)
Author:
drobbin
Message:

Fixed memory leaks from EOC Init fxn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psConfigure.c

    r4540 r5524  
    1313 *  @author Robert DeSonia, MHPCC
    1414 *
    15  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2005-07-12 19:12:01 $
     15 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2005-11-16 20:52:23 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2020#include "psString.h"
    2121#include "psTime.h"
     22#include "psEarthOrientation.h"
    2223#include "psError.h"
    2324#include "psConfigure.h"
     
    4344        return;
    4445    }
     46    if(!p_psEOCInit()) {
     47        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
     48                PS_ERRORTEXT_psConfigure_INITIALIZATION_FAILED, "psEOC");
     49        return;
     50    }
    4551}
    4652
     
    5460        return;
    5561    }
     62    if(!p_psEOCFinalize()) {
     63        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
     64                PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psEOC");
     65        return;
     66    }
    5667}
Note: See TracChangeset for help on using the changeset viewer.