_aligned_free error in visual c++

Status
Not open for further replies.

syedshan

Advanced Member level 1
Joined
Feb 27, 2012
Messages
463
Helped
27
Reputation
54
Reaction score
26
Trophy points
1,308
Location
Jeonju, South Korea
Activity points
5,134
hello every one,

I am getting following image as an error when I am freeing my memory, and later the program gets aborted and even if I choose abort program it does not work and abort.

Code:
ssint *pfiledata = (ssint*)_aligned_malloc(sizeof(ssint)*samples*horizontal, 4096);
memset(pfiledata, 0, sizeof(ssint)*samples*horizontal);
...
...
...
...
 _aligned_free(pfiledata);



Thanks
Shan
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…