Theano/Theano — pull request #2173 by RoyXue (2014-10-13 10:06:46+00:00)
Title: Issue 2169 a_theano_function.free() to free the temp memory

Initial the PR

1) check allow_gc, if False, loop over storage_map and set None

2) call free() in inner function