fix memory leak

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-03-07 13:36:39 +00:00
parent 8998dac1a7
commit af3852b12c

View File

@ -187,6 +187,7 @@ InsetInclude::InsetInclude(InsetInclude const & other)
InsetInclude::~InsetInclude() InsetInclude::~InsetInclude()
{ {
delete label_;
if (isVerbatim(params()) || isListings(params())) if (isVerbatim(params()) || isListings(params()))
return; return;