OwlCyberDefense / refpolicy

refpolicy has moved to https://github.com/SELinuxProject/refpolicy
GNU General Public License v2.0
125 stars 42 forks source link

fc_sort: use calloc instead of malloc #128

Closed williamcroberts closed 7 years ago

williamcroberts commented 7 years ago

Rather than using malloc to allocated nodes and setting all the fields, just use calloc.

Signed-off-by: William Roberts william.c.roberts@intel.com