Use a custom allocator for everything.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3892 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-06-04 17:04:51 +00:00
parent cf61e68713
commit 9c90b2bc1d
24 changed files with 404 additions and 343 deletions

View File

@ -1,5 +1,6 @@
#include "ssb.h"
#include "mem.h"
#include "ssb.db.h"
#include "ssb.js.h"
#include "tests.h"
@ -48,7 +49,7 @@ static void _ssb_test_connections_changed(tf_ssb_t* ssb, tf_ssb_change_t change,
{
count++;
}
free(c);
tf_free(c);
if (ssb == test->ssb0)
{
@ -294,7 +295,7 @@ void tf_ssb_test_following(const tf_test_options_t* options)
printf("* %s\n", *p); \
} \
printf("\n"); \
free(f); \
tf_free(f); \
} \
while (0)
#endif