Skip to content

Commit

Permalink
ames: do not leak stun request packets
Browse files Browse the repository at this point in the history
  • Loading branch information
pkova authored Jan 11, 2025
1 parent e0838e1 commit d38f6bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/vere/io/ames.c
Original file line number Diff line number Diff line change
Expand Up @@ -2030,6 +2030,7 @@ _ames_hear(u3_ames* sam_u,
//
if ( c3y == u3_stun_is_request(hun_y, len_w) ) {
_stun_on_request(sam_u, hun_y, adr_u);
c3_free(hun_y);
}
else if ( c3y == u3_stun_is_our_response(hun_y,
sam_u->sun_u.tid_y, len_w) )
Expand Down

0 comments on commit d38f6bd

Please sign in to comment.