Skip to content

Commit

Permalink
booru/image: Clear thumbnail curler buffer after using it
Browse files Browse the repository at this point in the history
  • Loading branch information
ahodesuka committed Dec 3, 2017
1 parent 3656535 commit ae9cb0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/booru/image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ const Glib::RefPtr<Gdk::Pixbuf>& Image::get_thumbnail()
m_ThumbnailPixbuf = get_missing_pixbuf();
m_ThumbnailLock.unlock();
}

m_ThumbnailCurler.clear();
}

return m_ThumbnailPixbuf;
Expand Down

0 comments on commit ae9cb0c

Please sign in to comment.