Skip to content

Conversation

@pavanky
Copy link
Member

@pavanky pavanky commented Nov 26, 2016

All the internal functions initialize an empty array first
and use the internal pointer to get the output af_array.

However this was not releasing the handle originally created.
This created a memory leak easily fixed by not creating a handle
when the array is empty.

All the internal functions initialize an empty array first
and use the internal pointer to get the output af_array.

However this was not releasing the handle originally created.
This created a memory leak easily fixed by not creating a handle
when the array is empty.
@pavanky pavanky merged commit 2cab1e7 into arrayfire:master Nov 27, 2016
@pavanky pavanky deleted the bugfix branch November 27, 2016 01:56
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

Successfully merging this pull request may close these issues.

1 participant