hughperkins / pytorch

Python wrappers for torch and lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

function contiguous() memory leak

lostoy opened this issue · comments

refcount is added twice.
should use __fromNative(_, False)

Good point :-) Addressed in 4c060cf (and added a unit test for this)