]> git.sesse.net Git - cubemap/commitdiff
Fix merge snafu in last commit. (Oops.)
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Apr 2013 14:41:18 +0000 (16:41 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Apr 2013 14:41:18 +0000 (16:41 +0200)
stream.cpp

index ae313087e003ac236d7b6134950e32e441582f8c..37961fadad9253c09b01745233c62256ab115f18 100644 (file)
@@ -224,13 +224,6 @@ void Stream::add_data_deferred(const char *data, size_t bytes)
        } else {
                assert(encoding == Stream::STREAM_ENCODING_RAW);
        }
-
-       // Add the data itself.
-       iovec iov;
-       iov.iov_base = new char[bytes];
-       memcpy(iov.iov_base, data, bytes);
-       iov.iov_len = bytes;
-       queued_data.push_back(iov);
 }
 
 void Stream::process_queued_data()