]> granicus.if.org Git - graphviz/commit
gvplugin_list: remove unnecessary duplication of 'str'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 24 Jun 2022 14:20:09 +0000 (07:20 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Jun 2022 23:12:16 +0000 (16:12 -0700)
commitd4bf84bc45a9b5b35ca435e58fa0e3b0bf32f326
treecacda9313d912a2a93d09cb240d2231a43f1b4d6
parenta1faa348cb92e7de012d942c04b2ec589ce4b1f1
gvplugin_list: remove unnecessary duplication of 'str'

By managing an extent into the original string, we can avoid a dynamic
allocation in this code. This is similar in spirit to
5a13ab3f08b2066a795ea152f9594f6719d3aaa6.
lib/gvc/gvplugin.c