diff options
author | Dave Beckett <dave@dajobe.org> | 2004-08-13 15:29:25 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2004-08-13 15:29:25 +0000 |
commit | 6207ade465fb2707cf6c8a2d1c437ac128369a58 (patch) | |
tree | 2cc37f57bf0bebc3f191dcebbe254ac17b520427 /src/raptor_libxml.c | |
parent | f1bd562ce09fd355bd93c9f59b1e4dcd9ef57adf (diff) | |
download | raptor-6207ade465fb2707cf6c8a2d1c437ac128369a58.tar.gz |
Calloc fixes.
Diffstat (limited to 'src/raptor_libxml.c')
-rw-r--r-- | src/raptor_libxml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raptor_libxml.c b/src/raptor_libxml.c index 5624c287..c9c8e5ff 100644 --- a/src/raptor_libxml.c +++ b/src/raptor_libxml.c @@ -425,8 +425,8 @@ raptor_libxml_new_entity(raptor_parser* rdf_parser, { raptor_libxml_entity *ent; - ent=(raptor_libxml_entity*)RAPTOR_CALLOC(raptor_libxml_entity, - sizeof(raptor_libxml_entity), 1); + ent=(raptor_libxml_entity*)RAPTOR_CALLOC(raptor_libxml_entity, 1, + sizeof(raptor_libxml_entity)); if(!ent) { raptor_parser_fatal_error(rdf_parser, "Out of memory"); return NULL; |