summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-15 19:08:27 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-15 19:08:27 +0000
commitd43e71a2423bb56d0ffe71d14093414e57e89ecb (patch)
treefc72b74a2bc13f73c6e3f83087ad778b26c884d8 /crawl-ref/source/directn.cc
parent5932620bfc39a9386d253378c4550cd4aca344b6 (diff)
downloadcrawl-ref-d43e71a2423bb56d0ffe71d14093414e57e89ecb.tar.gz
crawl-ref-d43e71a2423bb56d0ffe71d14093414e57e89ecb.zip
Plug a couple of memory holes. Unfortunately, between libSDL and
libfreetype there's loads of leakage that I can't do anything about. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9983 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 073565e368..eaeb19075f 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -788,6 +788,7 @@ void full_describe_view()
// Unset show_glyph for other menus.
InvEntry *me = new InvEntry(list_items[0]);
me->set_show_glyph(false);
+ delete me;
}
#else
// Clear cursor placement.