Bug 1067018 - Make sure calloc/malloc/free usages match in Tools.h; r=jwatt