diff options
Diffstat (limited to 'bgpd/bgp_notification.c')
-rw-r--r-- | bgpd/bgp_notification.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_notification.c b/bgpd/bgp_notification.c index 392289d0..6676b346 100644 --- a/bgpd/bgp_notification.c +++ b/bgpd/bgp_notification.c @@ -128,7 +128,7 @@ bgp_notify_unset(bgp_notify* p_notification) extern void bgp_notify_set(bgp_notify* p_dst, bgp_notify src) { - bgp_notify_free(p_dst) ; + bgp_notify_free(*p_dst) ; *p_dst = src ; } ; @@ -153,7 +153,7 @@ bgp_notify_set_dup(bgp_notify* p_dst, bgp_notify src) extern void bgp_notify_set_mov(bgp_notify* p_dst, bgp_notify* p_src) { - bgp_notify_free(p_dst) ; + bgp_notify_free(*p_dst) ; *p_dst = *p_src ; *p_src = NULL ; } ; |