repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
25aaa15
parent
ca8aab3
author
Eric Bower
date
2025-12-15 23:32:07 -0500 EST
fix(prose): close img obj
1 files changed,  +1, -0
M pkg/apps/prose/api.go
+1, -0
1@@ -930,6 +930,7 @@ func imgRequest(w http.ResponseWriter, r *http.Request) {
2 		http.Error(w, err.Error(), http.StatusUnprocessableEntity)
3 		return
4 	}
5+	defer contents.Close()
6 
7 	contentType := ""
8 	if info != nil {