kohler / click

The Click modular router: fast modular packet processing and analysis
Other
740 stars 321 forks source link

memory leak? #408

Closed QiAnXinCodeSafe closed 6 years ago

QiAnXinCodeSafe commented 6 years ago

tools/click-flatten/click-flatten.cc

in line 122: Memory is allocated. ErrorHandler *p_errh = new PrefixErrorHandler(errh, "click-flatten: ");

but at the end of function, memory is not freed ,Potential leak by 'p_errh'.