]> granicus.if.org Git - graphviz/commit
smyrna: fix memory leak in column construction
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Nov 2022 03:22:19 +0000 (20:22 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 10 Nov 2022 03:50:53 +0000 (19:50 -0800)
commit18b45ed7337aceec22768131778eb2813b069520
tree24c015cff6f5735aef8259b40ccbc633fc220dee
parentb0d68a29cfc31a91d59464fc7f352cbf3e5945ed
smyrna: fix memory leak in column construction

By using string views, we can avoid the need to duplicate the graph attribute
value here. This allocation that was previously being lost no longer is made at
all.

Gitlab: fixes #2299
cmd/smyrna/tvnodes.c