OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/docs/encode.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/docs/encode.c 1.1 -> 1.2

--- encode.c     2001/08/02 12:19:14     1.1
+++ encode.c     2001/08/02 13:57:12     1.2
@@ -42,6 +42,8 @@
 
     write(STDOUT_FILENO, buffer, buffer_size);
 
+    free(buffer);
+
     fprintf(stderr, "Encoded data:\n");
     fprintf(stderr, "\tint32   = %d\n", int32);
     fprintf(stderr, "\tuint32 = 0x%x\n", uint32);

CVSTrac 2.0.1