Closed mpinjr closed 2 years ago
In every instance, after strnode has extracted the string, the node is leaked.
valgrind --leak-check=full ./a.out 'BEGIN {$0="a"; gensub("a", "z", "g")}' valgrind --leak-check=full ./a.out 'BEGIN {gensub("a", "z", "g", "a")}'
In every instance, after strnode has extracted the string, the node is leaked.
valgrind --leak-check=full ./a.out 'BEGIN {$0="a"; gensub("a", "z", "g")}' valgrind --leak-check=full ./a.out 'BEGIN {gensub("a", "z", "g", "a")}'