No need to check for nullptr on free

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fix broken build of DoctorDump.cpp in VS2012

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Don't hard-code git hash size

Signed-off-by: Sven Strickroth <email@cs-ware.de>