diff options
-rw-r--r-- | proxy.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 | } |