git: wg: Fix wg_peer_create() to free 'peer->p_remote' on failure

Aaron LI aly at crater.dragonflybsd.org
Sat Apr 12 02:03:47 PDT 2025


commit f8f8fc239b78c3355faf2f28e079e1088ee1af17
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Apr 12 16:59:57 2025 +0800

    wg: Fix wg_peer_create() to free 'peer->p_remote' on failure
    
    This bug was introduced by me in commit 902964ab24ba9d2c978017d369c0faa8d2fe0f9e.
    
    See also: https://reviews.freebsd.org/D49796

Summary of changes:
 sys/net/wg/if_wg.c | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f8f8fc239b78c3355faf2f28e079e1088ee1af17


-- 
DragonFly BSD source repository


More information about the Commits mailing list