Use the semantic patch to change the usage isc_mem_create() to new API

This commit is contained in:
Ondřej Surý
2019-09-05 18:40:57 +02:00
parent 6bd2eb06cb
commit 4957255d13
85 changed files with 117 additions and 246 deletions

View File

@@ -708,8 +708,7 @@ manytasks(void **state) {
isc_condition_init(&cv);
isc_mem_debugging = ISC_MEM_DEBUGRECORD;
result = isc_mem_create(0, 0, &mctx);
assert_int_equal(result, ISC_R_SUCCESS);
isc_mem_create(&mctx);
result = isc_taskmgr_create(mctx, 4, 0, &taskmgr);
assert_int_equal(result, ISC_R_SUCCESS);