commit - dd6e31d7e33e64ea324b0afe932b3a509d7d963e
commit + a00719e9ec7fca4511eb77a8aee31bd098f52c68
blob - 3a68d826936ce61d03cad367b5fbd52ed10c4298
blob + 8782d2289745425a1fdaecbd1edbcab6c230e7e6
--- tog/tog.c
+++ tog/tog.c
s->id1 = got_object_id_dup(id1);
if (s->id1 == NULL)
return got_error_from_errno("got_object_id_dup");
- s->f1 = got_opentemp();
- if (s->f1 == NULL) {
- err = got_error_from_errno("got_opentemp");
- goto done;
- }
} else
s->id1 = NULL;
goto done;
}
+ s->f1 = got_opentemp();
+ if (s->f1 == NULL) {
+ err = got_error_from_errno("got_opentemp");
+ goto done;
+ }
+
s->f2 = got_opentemp();
if (s->f2 == NULL) {
err = got_error_from_errno("got_opentemp");