summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nhrpd/nhrp_peer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nhrpd/nhrp_peer.c b/nhrpd/nhrp_peer.c
index 6d204e7f7..002c6470b 100644
--- a/nhrpd/nhrp_peer.c
+++ b/nhrpd/nhrp_peer.c
@@ -1083,6 +1083,7 @@ static void nhrp_peer_forward(struct nhrp_peer *p,
err:
nhrp_packet_debug(pp->pkt, "FWD-FAIL");
zbuf_free(zb);
+ zbuf_free(zb_copy);
}
static void nhrp_packet_debug(struct zbuf *zb, const char *dir)