X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=tools%2Frpcgen%2Frpc_scan.c;h=51eecfee750539023346281e2b8a9cbbe5ce480e;hp=07565a17045d35b9d5a8414c372e881ae4239ce0;hb=e46ab0be95bb71f399e4ee0e9d06f16ad80d2b61;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/tools/rpcgen/rpc_scan.c b/tools/rpcgen/rpc_scan.c index 07565a1..51eecfe 100644 --- a/tools/rpcgen/rpc_scan.c +++ b/tools/rpcgen/rpc_scan.c @@ -382,7 +382,7 @@ static token symbols[] = { {TOK_INT, "int"}, {TOK_UNSIGNED, "unsigned"}, {TOK_SHORT, "short"}, - {TOK_LONG, "long"}, + {TOK_INT32, "int32"}, {TOK_FLOAT, "float"}, {TOK_DOUBLE, "double"}, {TOK_STRING, "string"}, @@ -468,6 +468,7 @@ docppline(char *line, int *lineno, char **fname) *p = 0; if (*file == 0) { *fname = NULL; + free(file); } else { *fname = file; }