From a22993b3125b838d7dd79d916f41be6d42fd38aa Mon Sep 17 00:00:00 2001 From: eustas Date: Fri, 22 Jan 2016 14:09:25 +0100 Subject: Fix pointer dereferencing. --- python/brotlimodule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) { -- cgit v1.1