This avoids leaking a pointer to the on-stack test_nmctx which
triggers a -Wdangling-pointer warning from GCC.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Differential D37536
netmap tests: Reset ctx->nmctx to NULL in nmreq_parsing. jhb on Nov 29 2022, 7:51 PM. Authored by Tags None Referenced Files
Details This avoids leaking a pointer to the on-stack test_nmctx which
Diff Detail
|