]> git.lyx.org Git - features.git/blobdiff - src/lyxlookup.C
a couple of new posix wrappers, use new instead of malloc in figinset delete the...
[features.git] / src / lyxlookup.C
index 2d263c5ca8299593ecee2d1358a08df65cfc168d..437ca99d0951ccd4ee2eda181c94824a1f3b93ec 100644 (file)
@@ -193,6 +193,7 @@ void CloseLyXLookup()
                lyxerr[Debug::KEY] << "CloseLyXLookup: destroying input context"
                               << endl;
                XDestroyIC(xic);
+               xic = 0;
                XCloseIM(xim);
        }
 }