summaryrefslogtreecommitdiff
path: root/zebra/irdp_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/irdp_main.c')
-rw-r--r--zebra/irdp_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/irdp_main.c b/zebra/irdp_main.c
index 04f12f18..e4e71cf3 100644
--- a/zebra/irdp_main.c
+++ b/zebra/irdp_main.c
@@ -224,7 +224,8 @@ static void irdp_advertisement (struct interface *ifp, struct prefix *p)
struct stream *s;
s = stream_new (128);
make_advertisement_packet (ifp, p, s);
- irdp_send(ifp, p, s);
+ irdp_send(ifp, p, s);
+ stream_free (s);
}
int irdp_send_thread(struct thread *t_advert)