Commit 07546137 authored by David Rohr's avatar David Rohr
Browse files

fix memory leak

parent 461cf12a
......@@ -492,6 +492,8 @@ int bioem::createProjection(int iMap, mycomplex_t* mapFFT)
// ********** Omp Critical is necessary with FFTW*******
myfftw_execute_dft_r2c(param.fft_plan_r2c_forward, localproj, mapFFT);
myfftw_free(localproj);
return(0);
}
......
#ifndef BIOEM_DEFS_H
#define BIOEM_DEFS_H
#define BIOEM_USE_DOUBLE
//#define BIOEM_USE_DOUBLE
#ifndef BIOEM_USE_DOUBLE
typedef float myfloat_t;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment