Actually, thanks to a Eureka moment, and a bit of help from people that could reproduce the problem, I found and fixed the probable source of the leak. See the commit logs if you're interested in what the leak was.
@ShellShock: Funnily enough the leak was in C code, not python code