]> Cypherpunks repositories - gostls13.git/commit
cmd/objdump: defer closing the file after opening
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Thu, 14 Jun 2018 18:37:32 +0000 (00:07 +0530)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 21 Aug 2018 02:45:00 +0000 (02:45 +0000)
commit9087d13ec3e39e50aae6c6a8cf99dc66225ab132
treee8a7e594f459a6ef9af9ec8a60680084380ea593
parenta0212aa6273395c400092383bbdebc251ebacd2d
cmd/objdump: defer closing the file after opening

Remove the os.Exit(0) to honor the deferred closing of the file.

Change-Id: Iaa9304d8203c8fec0ec728af669a94eadd36905c
Reviewed-on: https://go-review.googlesource.com/118915
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/objdump/main.go