OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/sio_buffer.c versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sio/sio_buffer.c 1.5 -> 1.6

--- sio_buffer.c 2002/11/24 19:36:48     1.5
+++ sio_buffer.c 2002/11/27 10:42:36     1.6
@@ -7,7 +7,6 @@
 
 typedef struct {
     size_t outputsize;
-    al_tx_t *outputtx;
     size_t inputsize;
     al_t *input, *output;
     al_label_t data_label;
@@ -102,15 +101,9 @@
     private_t *my = (private_t *)u;
     al_rc_t arc;
 
-    arc = al_txalloc(al, &my->outputtx);
-    if (arc != AL_OK)
-        return SIO_ERR_INT;
-
     arc = al_create(&my->output);
-    if (arc != AL_OK) {
-        al_txfree(al, my->outputtx);
+    if (arc != AL_OK)
         return SIO_ERR_INT;
-    }
 
     return SIO_OK;
 }
@@ -122,8 +115,6 @@
 
     al_destroy(my->output);
     my->output = NULL;
-    al_txfree(al, my->outputtx);
-    my->outputtx = NULL;
 
     return SIO_OK;
 }

CVSTrac 2.0.1