diff options
author | eustas <eustas.ru@gmail.com> | 2016-01-22 14:09:25 +0100 |
---|---|---|
committer | eustas <eustas.ru@gmail.com> | 2016-01-22 14:09:25 +0100 |
commit | a22993b3125b838d7dd79d916f41be6d42fd38aa (patch) | |
tree | 8e7cb04db3e50b11f347fe21dadc310283710949 /python | |
parent | 1f9106429a1926dee87d932b717c8ac4ab4f5c24 (diff) | |
download | brotli-a22993b3125b838d7dd79d916f41be6d42fd38aa.zip brotli-a22993b3125b838d7dd79d916f41be6d42fd38aa.tar.gz brotli-a22993b3125b838d7dd79d916f41be6d42fd38aa.tar.bz2 |
Fix pointer dereferencing.
Diffstat (limited to 'python')
-rw-r--r-- | python/brotlimodule.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/brotlimodule.cc b/python/brotlimodule.cc index a84f947..58e5ee1 100644 --- a/python/brotlimodule.cc +++ b/python/brotlimodule.cc @@ -191,7 +191,7 @@ static PyObject* brotli_decompress(PyObject *self, PyObject *args) { &total_out, &state); size_t used_out = kBufferSize - available_out; if (used_out != 0) - output->insert(output->end(), buffer, buffer + used_out); + output.insert(output.end(), buffer, buffer + used_out); } ok = result == BROTLI_RESULT_SUCCESS; if (ok) { |