Bug 2833 - doaccept() directly free()'s connection rather than freeconn()'ing it
: doaccept() directly free()'s connection rather than freeconn()'ing it
Status: RESOLVED FIXED
: Replica Location
RLS
: development
: PC Linux
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-03-01 13:29 by
Modified: 2005-03-29 02:21 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-03-01 13:29:51
The RLS (server.c:662) directly free's the connection variable rather than
calling freeconn() to properly release it. In this case it has only a minor
effect on the system -- the actual connection is _not_ open so there is little
loss of resources. However, the connection list is not properly corrected and
the connection count is not adjusted.

We have not experienced any problem due to this, but it is clear from the code
that it should be corrected. Shishir identified this problem.

Related to this, I have some slight concern about freeconn() itself, which I
will also look into in the process of correcting the above. It is nothing major
though.