mirror of https://github.com/OISF/suricata
Fix util-debug scan-build warnings
util-debug.c:461:12: warning: Potential leak of memory pointed to by 'substr' return SC_ERR_SPRINTF; ^~~~~~~~~~~~~~ util-debug.c:856:31: warning: Potential leak of memory pointed to by 's' op_ifaces_ctx = SCLogInitFileOPIface(s, NULL, SC_LOG_LEVEL_MAX); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util-debug.c:1349:9: warning: Potential leak of memory pointed to by 's' if (log_level >= 0 && log_level < SC_LOG_LEVEL_MAX) ^~~~~~~~~ 3 warnings generated.pull/809/merge
parent
0189b4d1eb
commit
9ef9a14315
Loading…
Reference in New Issue