summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proxy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proxy.c b/proxy.c
index 82789cb..1f09777 100644
--- a/proxy.c
+++ b/proxy.c
@@ -715,8 +715,7 @@ unlock_continue:
715 void *tmp = malloc( mem ); 715 void *tmp = malloc( mem );
716 if( tmp ) { 716 if( tmp ) {
717 memcpy( tmp, ptr, mem ); 717 memcpy( tmp, ptr, mem );
718 if( !iob_addbuf_free( &g_connections[i].outdata, tmp, mem ) ) 718 iob_addbuf_free( &g_connections[i].outdata, tmp, mem );
719 free( tmp );
720 io_wantwrite( g_connections[i].fd ); 719 io_wantwrite( g_connections[i].fd );
721 } 720 }
722 } 721 }