cleanup-rx-peer-leak-20041012
[openafs.git] / src / rx / rx.c
index c0a3d49..e3a68ed 100644 (file)
@@ -5763,7 +5763,7 @@ rxi_ReapConnections(void)
                    MUTEX_ENTER(&rx_stats_mutex);
                    rx_stats.nPeerStructs--;
                    MUTEX_EXIT(&rx_stats_mutex);
-                   if (prev == *peer_ptr) {
+                   if (peer == *peer_ptr) {
                        *peer_ptr = next;
                        prev = next;
                    } else