diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c index 503cfb1e301eb14fc357c63de1a2ad0c19a416d7..e93d7404e633a05d881be36256cc7fa3ed91da9d 100644 --- a/gtests/net/packetdrill/run_system_call.c +++ b/gtests/net/packetdrill/run_system_call.c @@ -5551,7 +5551,6 @@ static int syscall_sctp_sendv(struct state *state, struct syscall_spec *syscall, goto error_out; info = &sndinfo; } else if (info_expr->type == EXPR_SCTP_PRINFO) { - info = malloc(sizeof(struct sctp_prinfo)); if (parse_expression_to_sctp_prinfo(info_expr, &prinfo, error)) goto error_out; info = &prinfo;