Skip to content

Commit

Permalink
Merge pull request #5639 from qlyoung/fix-zebra-ptm-double-free
Browse files Browse the repository at this point in the history
zebra: fix ptm heap double free
  • Loading branch information
Mark Stapp authored Jan 7, 2020
2 parents 9e1a733 + ad1b29c commit dba6ddd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zebra/zebra_ptm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit dba6ddd

Please sign in to comment.