Commits

Eric Roshan Eisner committed 16b73d8 Draft

add missing error check

Comments (0)

Files changed (1)

 		// decompress
 		z := bytes.NewBuffer(data)
 		r, err := zlib.NewReader(z)
+		if err != nil {
+			return nil, err
+		}
 		var d bytes.Buffer
 		_, err = io.Copy(&d, r)
 		if err != nil {