Don't unlock the mutex. We didn't lock it
authorAlan T. DeKok <aland@freeradius.org>
Sun, 6 Nov 2011 09:52:51 +0000 (10:52 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 6 Nov 2011 09:52:51 +0000 (10:52 +0100)
src/main/connection.c

index 5459393..61fd632 100644 (file)
@@ -365,7 +365,6 @@ static int fr_connection_manage(fr_connection_pool_t *fc,
                        fc->log_prefix, this->number);
        do_delete:
                fr_connection_close(fc, this);
-               pthread_mutex_unlock(&fc->mutex);
                return 0;
        }