Commit 82b1fd1e authored by Bruce Momjian's avatar Bruce Momjian

More cleanup.

parent 9d244ddb
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment