ossp-pkg/xds/setbuffer.c 1.5 -> 1.6
--- setbuffer.c 2001/07/18 17:49:51 1.5
+++ setbuffer.c 2001/07/31 06:33:55 1.6
@@ -41,7 +41,7 @@
/* Free the old buffer if there is one. */
- if (xds->buffer != NULL)
+ if (xds->buffer != NULL && xds->we_own_buffer)
free(xds->buffer);
xds->buffer_len = 0;
|
|