Fix various memory leaks in http-push.c and http-walker.c