Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
udp: fix memory leak (peer_host)
  • Loading branch information
perexg committed Mar 11, 2015
1 parent 3c889e1 commit 9dbaa44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/udp.c
Expand Up @@ -449,6 +449,7 @@ udp_close( udp_connection_t *uc )
if (uc->fd >= 0)
close(uc->fd);
free(uc->host);
free(uc->peer_host);
free(uc->ifname);
free(uc->subsystem);
free(uc->name);
Expand Down

0 comments on commit 9dbaa44

Please sign in to comment.