]> granicus.if.org Git - graphviz/commit
gvpack: rewrite 'xName' to return a 'std::string'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 16 Apr 2022 04:04:52 +0000 (21:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:49 +0000 (19:12 -0700)
commit8d045a2c0f3fa3452fa6a6e02aa4ca801bc90097
tree1fc905440f9cfd49dc0aa02d94577d36995ad2f0
parent78753714e14e39308902e848b1a30d5abf9ae5e9
gvpack: rewrite 'xName' to return a 'std::string'

This removes some manual memory management leaving an easier to read function,
as well as removing a static unfreed buffer that impedes Valgrind and ASan.
cmd/tools/gvpack.cpp