Skip to content

Commit

Permalink
Update filters/H5Zblosc/src/H5Zblosc.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Mustafa Mohamad <[email protected]>
  • Loading branch information
mkitti and musm authored May 30, 2024
1 parent 504ce58 commit b709574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/H5Zblosc/src/H5Zblosc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function blosc_filter(
# See https://github.com/JuliaLang/julia/issues/43402
# Resolved in https://github.com/JuliaLang/julia/pull/43408
outbuf_size, cbytes, blocksize = Blosc.cbuffer_sizes(in)
outbuf_size <= && return Csize_t(0)
outbuf_size <= 0 && return Csize_t(0)
outbuf = Libc.malloc(outbuf_size)
outbuf == C_NULL && return Csize_t(0)
status = Blosc.blosc_decompress(in, outbuf, outbuf_size)
Expand Down

0 comments on commit b709574

Please sign in to comment.