substack/seaport — pull request #14 by mbrevoort (2012-10-21 20:53:39+00:00)
Title: fixed ports.free() bug when passed just a number

When calling free explicitly from a seaport client, if you just pass the port as a number parameter the params._id (which I introduced) value is undefined and the role wasn't getting properly deallocated.