diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2020-05-26 10:06:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 10:06:28 -0700 |
commit | e553e0f382394ea055d0b6b7637ab2534cf38146 (patch) | |
tree | 07d7a1945dbf045dfd09b00cec74ce7112096fe6 /test.c | |
parent | f5d258504333d5598428853b7293e26814f65acf (diff) |
Document allocator injection and completeness fix in test.c (#824)
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -550,7 +550,8 @@ static void test_allocator_injection(void) { .mallocFn = hi_malloc_fail, .callocFn = hi_calloc_fail, .reallocFn = hi_realloc_fail, - .freeFn = NULL, + .strdupFn = strdup, + .freeFn = free, }; // Override hiredis allocators |