]> granicus.if.org Git - graphviz/commit
condense a malloc;memset
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 20 Mar 2021 19:01:19 +0000 (12:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 29 Mar 2021 03:10:45 +0000 (20:10 -0700)
commit194c4f13d040a9536e9073f61176db9af3e927d0
tree998d18010905e0d64214ecc5c8872709d22835fc
parent95dde50445758cfa3a41abfa5c02d3b284aca63e
condense a malloc;memset

The calloc function does the zeroing for you and can even be more efficient for
large allocations.
lib/cgraph/mem.c