Tmp was not freed in case of errors in save_branch().

1 file changed