]> granicus.if.org Git - graphviz/commit
ccomps getName: remove long lived allocation
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 14 Jan 2023 23:38:40 +0000 (15:38 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 15 Jan 2023 17:51:26 +0000 (09:51 -0800)
commit453d098db6a5ee9ea5cff99526538ad4ea57fde7
treeeafb43679809e8709789df510ec65a704ece5621
parent6fc8e914672f1f6ae9ec48da0dc9c128c25f0f80
ccomps getName: remove long lived allocation

This code is not on a hot path, so we can afford to use clearer scoping and
ownership semantics.

Gitlab: #1950
cmd/tools/ccomps.c