Some small free() fixups.