1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-28 12:56:18 +00:00
ngircd/src/portab
Alexander Barton 8d173a3328 Fix memory leak in portabtest Check_strtok_r()
Fix the following Clang "LeakSanitizer" error (which isn't quite
relevant in this test program, but anyway):

  ERROR: LeakSanitizer: detected memory leaks

  Direct leak of 7 byte(s) in 1 object(s) allocated from:
      #0 0x7f8c4d022810 in strdup (/lib/x86_64-linux-gnu/libasan.so.5+0x3a810)
      #1 0x5601a801491a in Check_strtok_r (/net/arthur/home/alex/Develop/ngIRCd/ngIRCd.git/src/portab/portabtest+0x291a)
      #2 0x5601a8014d77 in main (/net/arthur/home/alex/Develop/ngIRCd/ngIRCd.git/src/portab/portabtest+0x2d77)
      #3 0x7f8c4c69009a in __libc_start_main ../csu/libc-start.c:308

  SUMMARY: AddressSanitizer: 7 byte(s) leaked in 1 allocation(s).
  FAIL: portabtest
2020-02-15 14:56:07 +01:00
..
ansi2knr.1 - ansi2knr zum CVS-Tree hinzugefuegt. 2002-05-22 09:44:07 +00:00
ansi2knr.c - alten CVS-ID-Tag entfernt; ansi2knr.c ist direkt von automake uebernommen. 2002-05-22 09:44:50 +00:00
Makefile.ng portab/Makefile: Split list into separate lines 2018-02-25 03:17:21 +01:00
portab.h Make sure that SYSCONFDIR is always set 2016-07-22 19:01:04 +02:00
portabtest.c Fix memory leak in portabtest Check_strtok_r() 2020-02-15 14:56:07 +01:00
splint.h Code cleanup: mostly removing empty lines 2011-02-13 17:52:38 +01:00
strdup.c Remove imp.h and exp.h header files 2014-03-17 00:17:02 +01:00
strlcpy.c Update copyright notices of recently changed files 2014-03-17 12:22:00 +01:00
strndup.c Remove imp.h and exp.h header files 2014-03-17 00:17:02 +01:00
strtok_r.c Code cleanup: mostly removing empty lines 2011-02-13 17:52:38 +01:00
vsnprintf.c Whitespace fixes (no functional changes) 2015-08-01 15:15:30 +02:00
waitpid.c Remove imp.h and exp.h header files 2014-03-17 00:17:02 +01:00