fix some things

This commit is contained in:
Henrique Dias
2015-10-17 08:10:42 +01:00
parent 109f27170a
commit ac69a3acba
3 changed files with 3 additions and 70 deletions

View File

@@ -132,6 +132,8 @@ func upload(w http.ResponseWriter, r *http.Request) (int, error) {
w.Write([]byte(err.Error()))
return http.StatusInternalServerError, err
}
defer outfile.Close()
}
}