Use the semantic patch to change the usage isc_mem_create() to new API
This commit is contained in:
@@ -286,7 +286,7 @@ main(int argc, char *argv[]) {
|
||||
* EVERYTHING needs a memory context.
|
||||
*/
|
||||
mctx = NULL;
|
||||
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
|
||||
isc_mem_create(&mctx);
|
||||
|
||||
/*
|
||||
* The task manager is independent (other than memory context)
|
||||
|
||||
Reference in New Issue
Block a user