mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix buffer pointer crash. (Another.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23932 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
82a738b853
commit
0894f32bc6
@ -251,6 +251,7 @@ Inset * createInsetHelper(Buffer & buf, FuncRequest const & cmd)
|
||||
InsetExternalParams iep;
|
||||
InsetExternalMailer::string2params(to_utf8(cmd.argument()), buf, iep);
|
||||
auto_ptr<InsetExternal> inset(new InsetExternal);
|
||||
inset->setBuffer(buf);
|
||||
inset->setParams(iep);
|
||||
return inset.release();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user