[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: replace malloc with calloc in xodtemplace.c allocating zero'd out memory

git at icinga.org git at icinga.org
Tue Aug 23 19:00:10 CEST 2011


Module: icinga-core
Branch: mfriedrich/core
Commit: 9d4051fa2be0c093d5f7cabe16cb79973234eb96
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=9d4051fa2be0c093d5f7cabe16cb79973234eb96

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Aug 23 18:31:42 2011 +0200

replace malloc with calloc in xodtemplace.c allocating zero'd out memory

this has been done in various other places and will prevent further
memory issues on the code.

---

 xdata/xodtemplate.c |  139 ++++++++------------------------------------------
 1 files changed, 23 insertions(+), 116 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=9d4051fa2be0c093d5f7cabe16cb79973234eb96




More information about the icinga-checkins mailing list