Skip to content

Commit

Permalink
fix zbeacon test segmentation fault
Browse files Browse the repository at this point in the history
  • Loading branch information
calvin2021y authored Sep 12, 2024
1 parent 57f32c0 commit 8965905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zbeacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ s_self_prepare_udp (self_t *self)
self->udpsock_send = INVALID_SOCKET;
}

freeaddrinfo (bind_to);
freeaddrinfo (send_to);
if( bind_to != NULL ) freeaddrinfo (bind_to);
if( send_to != NULL ) freeaddrinfo (send_to);
}


Expand Down

0 comments on commit 8965905

Please sign in to comment.