Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use "free" after fftwf_export_wisdom_to_string or fftw_export_wisdom_to_string #104

Open
Nelson-numerical-software opened this issue Jul 30, 2017 · 1 comment

Comments

@Nelson-numerical-software

Build environment Visual studio 2015 target x64
fftw used: http://fftw.org/install/windows.html 64-bit version: fftw-3.3.5-dll64.zip

example:
char *buffer = fftwf_export_wisdom_to_string();
if (buffer)
{
free(buffer);
}
with free, it crashs:

image

@stevengj
Copy link
Contributor

stevengj commented Jul 30, 2017

Hmm, probably a libc (crt) mismatch between your MSVC and how FFTW's DLL was built...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants