Merge pull request #5639 from qlyoung/fix-zebra-ptm-double-free

zebra: fix ptm heap double free
This commit is contained in:
Mark Stapp 2020-01-07 11:20:22 -05:00 committed by GitHub
commit dba6ddda0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1295,7 +1295,6 @@ static void zebra_ptm_send_bfdd(struct stream *msg)
}
stream_free(msgc);
stream_free(msg);
}
static void zebra_ptm_send_clients(struct stream *msg)
@ -1327,7 +1326,6 @@ static void zebra_ptm_send_clients(struct stream *msg)
}
stream_free(msgc);
stream_free(msg);
}
static int _zebra_ptm_bfd_client_deregister(struct zserv *zs)