]> granicus.if.org Git - graphviz/commit
fix memory leak in gvplugin_list
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 22 Oct 2020 00:04:44 +0000 (17:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 29 Oct 2020 00:13:12 +0000 (17:13 -0700)
commitbe5b95a007f402564ec1f375a6fe2df109d97b66
treea87c7d8fe61995d299a2bb20916230afd952471e
parent6a8512ec03ae5311241156292ba5d6bee52be7fc
fix memory leak in gvplugin_list

It seems clear these conditionals were reversed and were meant to read
`if (typestr_list)`. Rather than flip their polarity, we just remove them as it
is safe to free NULL.
lib/gvc/gvplugin.c