]> granicus.if.org Git - graphviz/commit
refactor calls to NEW that can tolerate failure into calloc
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Jun 2020 00:06:27 +0000 (17:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 22 Jun 2020 23:39:21 +0000 (16:39 -0700)
commit46ec161020711d6b304fc9107cbe3a4ade0c8751
tree944e5511f23d0a69b0bfc704d810579e97bba6cf
parent5a13faa101fcc12384be1a2c79c181d2e026f819
refactor calls to NEW that can tolerate failure into calloc

We are about to make the NEW wrapper exit on allocation failure, so this
preserves the existing semantics of allowing these calls to handle allocation
failure locally.
lib/label/index.c