diff options
author | Bruno Haible <bruno@clisp.org> | 2006-11-07 14:24:05 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2006-11-07 14:24:05 +0000 |
commit | 9017ec629b3dda3e398d6ea027cae26ab7d018b5 (patch) | |
tree | d0f42c3633a056a6dc30df2d623e69af6c8d6047 /lib/gl_anytree_oset.h | |
parent | 11f037c25793b02c701776d88087ae7d419cbe93 (diff) | |
download | gnulib-9017ec629b3dda3e398d6ea027cae26ab7d018b5.tar.gz |
More uses of XMALLOC, XNMALLOC and XCALLOC.
Diffstat (limited to 'lib/gl_anytree_oset.h')
-rw-r--r-- | lib/gl_anytree_oset.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gl_anytree_oset.h b/lib/gl_anytree_oset.h index 53c877505a..9945cfc71e 100644 --- a/lib/gl_anytree_oset.h +++ b/lib/gl_anytree_oset.h @@ -32,8 +32,7 @@ static gl_oset_t gl_tree_create_empty (gl_oset_implementation_t implementation, gl_setelement_compar_fn compar_fn) { - struct gl_oset_impl *set = - (struct gl_oset_impl *) xmalloc (sizeof (struct gl_oset_impl)); + struct gl_oset_impl *set = XMALLOC (struct gl_oset_impl); set->base.vtable = implementation; set->base.compar_fn = compar_fn; |