IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25586


Ignore:
Timestamp:
Sep 27, 2009, 10:21:44 AM (17 years ago)
Author:
eugene
Message:

plug leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psModules/src/camera/pmHDUGenerate.c

    r24769 r25586  
    611611            if (cells->n == 0) {
    612612                // Nothing to do
     613                psFree (cells);
    613614                return true;
    614615            }
     
    660661            if (cells->n == 0) {
    661662                // Nothing to do
     663                psFree (cells);
    662664                return true;
    663665            }
     
    707709            if (cells->n == 0) {
    708710                // Nothing to do
     711                psFree (cells);
    709712                return true;
    710713            }
    711 
    712             return generateHDU(hdu, cells);
     714           
     715            bool status = generateHDU(hdu, cells);
     716            psFree (cells);
     717            return status;
    713718        }
    714719    default:
Note: See TracChangeset for help on using the changeset viewer.