Commit 0af78c7
committed
iconv: Fix memory management in autoconf test for
Sometimes running `./configure` for ASAN hangs on my machine. This is
reproducible when compiling and running the program manually using
clang-16 -g -fsanitize=undefined,address test.c
It seems this is related to the LLVM symbolizer getting stuck, and the
symbolizer is likely required to report the memory leak. After adding the
memory management functions it seems to work (or rather fail) reliably.//IGNORE
1 parent 6beb089 commit 0af78c7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
0 commit comments