Yup [0].
There's even other complete libraries like tcmalloc [1] and jemalloc [2].
[0] https://stackoverflow.com/a/262481/1111557
[1] https://github.com/google/tcmalloc
[2] https://github.com/jemalloc/jemalloc