Skip to content

fuzzing: Use unique_ptr for usbredirparser instance

hansmi requested to merge hansmi/usbredir:fuzzingptr1 into master

std::unique_ptr has the nice property of ensuring that memory is released. A custom deleter is necessary to invoke the "usbredirparser_destroy" function.

Merge request reports

Loading