diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-01-06 19:48:08 -0500 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-01-06 19:48:08 -0500 | 
| commit | ad1b29c91dc27b69903c1ef2afd3a155ed5f06a4 (patch) | |
| tree | 971dabd5fcf98ae3cb15c19625bb300ecf2ae45d /zebra/zebra_ptm.c | |
| parent | 5c3be0814fb190b007ff31efa85cca5e66e2daab (diff) | |
zebra: fix ptm heap double free
Don't need to free these, they're freed by the caller.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm.c')
| -rw-r--r-- | zebra/zebra_ptm.c | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c index 46f1385520..8640a4a720 100644 --- a/zebra/zebra_ptm.c +++ b/zebra/zebra_ptm.c @@ -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)  | 
