Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dm-interactions
class_v2.7_nuDM
Commits
96391c20
Commit
96391c20
authored
May 06, 2018
by
Maria Archidiacono
Browse files
mem leak fix
parent
9fbb5d94
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/spectra.c
View file @
96391c20
...
...
@@ -3258,8 +3258,8 @@ int spectra_pk(
psp
->
error_message
),
psp
->
error_message
,
psp
->
error_message
);
}
if
(
pba
->
has_ncdm
){
if
(
pba
->
has_ncdm
){
class_alloc
(
psp
->
ddln_pk_cb_nl
,
sizeof
(
double
)
*
psp
->
ln_tau_nl_size
*
psp
->
ln_k_size
,
psp
->
error_message
);
...
...
@@ -3273,8 +3273,8 @@ int spectra_pk(
psp
->
error_message
,
psp
->
error_message
);
}
}
}
free
(
primordial_pk
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment