mirror of
https://github.com/postgres/postgres.git
synced 2026-06-13 18:50:17 -04:00
More cleanup.
This commit is contained in:
parent
9d244ddb26
commit
82b1fd1e0d
1 changed files with 2 additions and 2 deletions
|
|
@ -91,8 +91,7 @@ SOCK_Destructor(SocketClass * self)
|
|||
free(self->buffer_in);
|
||||
|
||||
if (self->buffer_out)
|
||||
SOCK_put_n_char(self, (char *) &rv, 2);
|
||||
free(self->buffer_out);
|
||||
free(self->buffer_out);
|
||||
|
||||
free(self);
|
||||
}
|
||||
|
|
@ -257,6 +256,7 @@ SOCK_put_int(SocketClass * self, int value, short len)
|
|||
{
|
||||
case 2:
|
||||
rv = self->reverse ? value : htons((unsigned short) value);
|
||||
SOCK_put_n_char(self, (char *) &rv, 2);
|
||||
return;
|
||||
|
||||
case 4:
|
||||
|
|
|
|||
Loading…
Reference in a new issue