mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
plug two memory leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10069 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
46a0ca5671
commit
810fbe89aa
@ -1,3 +1,7 @@
|
||||
2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* Timeout.C (~Timeout): properly delete the pimpl on deletion.
|
||||
|
||||
2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* screen.[hC]: better fix, processEvents -related screen update
|
||||
|
@ -17,6 +17,7 @@
|
||||
Timeout::~Timeout()
|
||||
{
|
||||
pimpl_->stop();
|
||||
delete pimpl_;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* qfont_loader.C (addToFontPath): delete the data structure
|
||||
allocated by XGetFontPath.
|
||||
|
||||
2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* qfont_loader.h:
|
||||
|
@ -63,6 +63,7 @@ void qfont_loader::addToFontPath()
|
||||
char ** p = XGetFontPath(w.x11Display(), &n);
|
||||
if (std::find(p, p + n, dir) != p + n)
|
||||
return;
|
||||
XFreeFontPath(p);
|
||||
lyxerr[Debug::FONT] << "Adding " << dir
|
||||
<< " to the font path." << endl;
|
||||
string const command = "xset fp+ " + QuoteName(dir);
|
||||
|
Loading…
Reference in New Issue
Block a user