mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +00:00
f8277267a0
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc` (the latter one being used to allocate a zeroed array of elements, sometimes, this makes a call to `mem_zero` superfluous). This results in having to remove `mem_stats` which previously recorded the number of allocations and their size that the Teeworlds code did directly. Remove OOM handling in `src/game/client/components/binds.cpp`. Remove needless copying in the CSV code in `src/game/client/components/statboard.cpp`. |
||
---|---|---|
.. | ||
backend_sdl.cpp | ||
backend_sdl.h | ||
client.cpp | ||
client.h | ||
fetcher.cpp | ||
fetcher.h | ||
friends.cpp | ||
friends.h | ||
graphics_threaded.cpp | ||
graphics_threaded.h | ||
input.cpp | ||
input.h | ||
keynames.h | ||
opengl_sl.cpp | ||
opengl_sl.h | ||
opengl_sl_program.cpp | ||
opengl_sl_program.h | ||
serverbrowser.cpp | ||
serverbrowser.h | ||
sound.cpp | ||
sound.h | ||
text.cpp | ||
updater.cpp | ||
updater.h |