don't forget to delete addr pointers
This commit is contained in:
parent
c8e489d4c9
commit
7476a9712a
|
@ -47,6 +47,8 @@ main()
|
|||
(const struct sockaddr *) addr, sizeof(struct sockaddr_un)) == -1)
|
||||
perror("error sending datagram");
|
||||
|
||||
p_delete(&addr);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99
|
||||
|
|
Loading…
Reference in New Issue