Failed attempt at fixing memory leak, reduces CPU usage though...
Fix pings
Merge branch 'master' into c
update generated_c