summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
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