free en commentaire
This commit is contained in:
parent
5e8b4fa928
commit
afa8b4c822
@ -62,9 +62,7 @@ int build_padn(tlv *tlv, size_t len) {
|
|||||||
|
|
||||||
int build_neighbour_req(tlv *tlv) {
|
int build_neighbour_req(tlv *tlv) {
|
||||||
// Free the previously allocated memory
|
// Free the previously allocated memory
|
||||||
// if (tlv != NULL) {
|
free(tlv->pad1);
|
||||||
// free(tlv->pad1);
|
|
||||||
// }
|
|
||||||
|
|
||||||
neighbour_req *new = (neighbour_req*) malloc(sizeof(neighbour_req));
|
neighbour_req *new = (neighbour_req*) malloc(sizeof(neighbour_req));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user