Fix a likely bug found by coverity in test_scheduler.c.

Andrea, do you agree with this?

This is CID 1256186
Fix a memory leak in rend_services_introduce

This is CID 1256187 ; bug not in any released tor.