X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=rpcgen_ast.c;h=baade6af5c7d31a6f42fc1d92604b2fc5f30ba37;hb=HEAD;hp=e1caa99402aee26b37831a48cc7b8f266a6b025c;hpb=1b9cc11ece64ac12f63e6c96e32b404b32fb0f32;p=portablexdr.git diff --git a/rpcgen_ast.c b/rpcgen_ast.c index e1caa99..baade6a 100644 --- a/rpcgen_ast.c +++ b/rpcgen_ast.c @@ -26,13 +26,12 @@ #include "rpcgen_int.h" struct type * -new_type (enum type_enum type, int sgn, char *ident, char *len) +new_type (enum type_enum type, int sgn, char *ident) { struct type *r = malloc (sizeof *r); r->type = type; r->sgn = sgn; r->ident = ident; - r->len = len; return r; } @@ -41,7 +40,6 @@ free_type (struct type *t) { if (t) { free (t->ident); - free (t->len); free (t); } }