Fix potential memory leak in unpack_bit_str_hex().
The safe_unpackstr_xmalloc() call could jump to unpack_error, which would leak memory allocated for bitmap. Allocate only after the unpackstr has succeeded. Coverity 160092 (+ more due to macro expansion leading to repeats).
Please register or sign in to comment