From 26502dca8d631c7c4b1fcc6dbe334da941f4ab54 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 25 Jan 2021 04:15:33 +0200 Subject: [PATCH] Clear offset of Bufferable when removing from buffer It shouldn't really matter but just in case. --- source/bufferable.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/bufferable.cpp b/source/bufferable.cpp index 4544c508..d07f57cc 100644 --- a/source/bufferable.cpp +++ b/source/bufferable.cpp @@ -88,6 +88,7 @@ void Bufferable::unlink_from_buffer() prev_in_buffer = 0; next_in_buffer = 0; buffer = 0; + offset = 0; } void Bufferable::update_offset() -- 2.45.2