plug some fd leaks in the fdopen{,dir} error paths
commitfc9b745fd3b1a01f7e89f269600db36ad5222b3e
authorOmar Polo <op@omarpolo.com>
Tue, 30 Jan 2024 15:22:59 +0000 (30 15:22 +0000)
committerOmar Polo <op@omarpolo.com>
Tue, 30 Jan 2024 15:22:59 +0000 (30 15:22 +0000)
treea2be1b612977dc4907ede8c0847f1c8860ad05f5
parentb3be78f9089a5962b5ae04df5f76c6d0137879d5
plug some fd leaks in the fdopen{,dir} error paths

There's also a memory leak fixed.  ok stsp@
gotd/repo_read.c
lib/fileindex.c
lib/opentemp.c
lib/repository.c
lib/repository_admin.c