Cycles: Remove redundant alloc/free
Seems like a copy paste error.
This commit is contained in:
parent
aa91a36864
commit
cbf2fab9ea
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user