diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-08-14 05:01:33 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-08-14 05:01:33 +0000 |
commit | 1feaaa075ad581968636277a2b01b3e429cd243f (patch) | |
tree | b879c31e99a13d912ac948aad36365ac920342b5 /parse.y | |
parent | 3e19c712012035faf9609265512602345940e0d2 (diff) | |
download | libcg-1feaaa075ad581968636277a2b01b3e429cd243f.tar.gz libcg-1feaaa075ad581968636277a2b01b3e429cd243f.tar.xz libcg-1feaaa075ad581968636277a2b01b3e429cd243f.zip |
libcgroup: zero out allocated memory
Use calloc to allocate memory.
Should get rid of a number of silent memory corruptions.
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Acked-by: Dan Smith <danms@us.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@142 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'parse.y')
0 files changed, 0 insertions, 0 deletions