Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conf: clean up interface names on config file read failure
==12076==ERROR: LeakSanitizer: detected memory leaks Direct leak of 7 byte(s) in 1 object(s) allocated from: #0 0x499bba in __interceptor_malloc (/home/ferry/vcs/nbs/nbsolsrd/olsrd+0x499bba) ninuxorg#1 0x5784cd in get_string_token src/cfgparser/oscan.lex:92 ninuxorg#2 0x578ef7 in yylex src/cfgparser/oscan.lex:185 ninuxorg#3 0x5699c4 in yyparse src/cfgparser/oparse.c:1686 ninuxorg#4 0x55e322 in olsrd_parse_cnf src/cfgparser/olsrd_conf.c:158 ninuxorg#5 0x4edf56 in olsrmain_load_config src/main.c:281 ninuxorg#6 0x4ee5e6 in main src/main.c:386 #7 0x7fd24079757f in __libc_start_main (/lib64/libc.so.6+0x2057f) SUMMARY: AddressSanitizer: 7 byte(s) leaked in 1 allocation(s). Signed-off-by: Ferry Huberts <[email protected]>
- Loading branch information