Cycles: Remove redundant alloc/free

Seems like a copy paste error.
This commit is contained in:
Sergej Reich 2014-11-01 15:23:14 +01:00
parent aa91a36864
commit cbf2fab9ea
1 changed files with 0 additions and 3 deletions

View File

@ -107,9 +107,6 @@ public:
if(datasize > 0) {
data = (T*)malloc_aligned(sizeof(T)*datasize, alignment);
memcpy(data, &from[0], datasize*sizeof(T));
free_aligned(data);
data = (T*)malloc_aligned(sizeof(T)*datasize, alignment);
memcpy(data, &from[0], datasize*sizeof(T));
}
return *this;