summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/rip/rip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 7321f51..9466e43 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