summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-05 07:16:12 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-05 07:16:12 +0000
commit8dd121b5b7a30f9d30a89b566bbe4e6e3f60f6a4 (patch)
treee36ec0831729ce021565eda70f9ae025e704f118 /ext
parent38c5409667d7504e3d66572f2e065a7152a796a8 (diff)
* ext/curses/curses.c (free_window): use xfree instead of free.
[ruby-dev:37200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/curses/curses.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curses/curses.c b/ext/curses/curses.c
index f0a61082ea..861104f85b 100644
--- a/ext/curses/curses.c
+++ b/ext/curses/curses.c
@@ -94,7 +94,7 @@ free_window(struct windata *winp)
{
if (winp->window && winp->window != stdscr) delwin(winp->window);
winp->window = 0;
- free(winp);
+ xfree(winp);
}
static VALUE