Move xmalloc to trivia/util.h
We want to use the xmalloc helper throughout the code, not only in the core lib. Move its definition to trivia/util.h and use fprintf+exit instead of say/panic in order not to create circular dependencies. (cherry picked from commit f3b5ad97)
Loading
Please register or sign in to comment