diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/rip/rip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 7321f512..9466e438 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -671,7 +671,7 @@ rip_real_if_add(struct object_lock *lock) add_head( &P->interfaces, NODE rif ); DBG("Adding object lock of %p for %p\n", lock, rif); rif->lock = lock; - } else { rfree(rif->lock); } + } else { rfree(lock); } } static void |