[Client] Free the allocated packet
This commit is contained in:
parent
7c6d09d859
commit
c980d05baa
|
@ -82,6 +82,7 @@ int main(int argc, char *argv[])
|
||||||
make_packet() ;
|
make_packet() ;
|
||||||
send_request() ;
|
send_request() ;
|
||||||
|
|
||||||
|
free(packet) ;
|
||||||
close(sockfd) ;
|
close(sockfd) ;
|
||||||
|
|
||||||
if (options.listening_port > 0)
|
if (options.listening_port > 0)
|
||||||
|
|
Loading…
Reference in New Issue