Commit c3d4de93 authored by Emmanuel Bertin's avatar Emmanuel Bertin
Browse files

Fixed large memory leak in model-fitting.

parent 6fb2f5c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
.TH SEXTRACTOR "1" "September 2011" "SExtractor 2.14.7" "User Commands"
.TH SEXTRACTOR "1" "October 2011" "SExtractor 2.14.7" "User Commands"
.SH NAME
sex \- extract a source catalogue from an astronomical FITS image
.SH SYNOPSIS
+2 −4
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
*	You should have received a copy of the GNU General Public License
*	along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
*
*	Last modified:		06/09/2011
*	Last modified:		08/10/2011
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

@@ -3313,7 +3313,7 @@ INPUT Pointer to the profile-fitting structure,
OUTPUT	A pointer to an allocated prof structure.
NOTES	-.
AUTHOR	E. Bertin (IAP)
VERSION	22/04/2011
VERSION	08/10/2011
 ***/
profstruct	*prof_init(profitstruct *profit, unsigned int modeltype)
  {
@@ -3520,8 +3520,6 @@ profstruct *prof_init(profitstruct *profit, unsigned int modeltype)
      break;
    }

  QMALLOC(prof->pix, float, prof->npix);

  if (prof->naxis>2)
    {
    prof->kernelnlines = 1;