Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bad memory accounting for sds when no malloc_size available (valk…
…ey-io#694) Issue Introduced by valkey-io#453. When we check the SDS _TYPE_5 allocation size we mistakenly used zmalloc_size which DOES take the PREFIX size into account when no malloc_size support. Later when we free we add the PREFIX_SIZE again which leads to negative memory accounting on some tests. Example test failure: https://github.com/valkey-io/valkey/actions/runs/9654170962/job/26627901497 Signed-off-by: ranshid <[email protected]>
- Loading branch information