Skip to content

Commit e657f4a

Browse files
authored
Update src/core/others/ojph_file.cpp
1 parent 106a6d7 commit e657f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/others/ojph_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ namespace ojph {
204204
/** */
205205
void mem_outfile::expand_storage(size_t needed_size, bool clear_all)
206206
{
207-
auto new_buf = this->buf;
207+
u8 * new_buf = nullptr;
208208
if (needed_size > buf_size)
209209
{
210210
needed_size += (needed_size + 1) >> 1; // x1.5

0 commit comments

Comments
 (0)