Fix copy&paste bug in rev 21883.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21895 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-01 09:51:45 +00:00
parent 93fb9ee6af
commit ad30e45ab6

View File

@ -281,6 +281,8 @@ Buffer::~Buffer()
// Remove any previewed LaTeX snippets associated with this buffer.
graphics::Previews::get().removeLoader(*this);
delete d;
}