1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
kazu 2009-01-05 07:16:12 +00:00
parent 38c5409667
commit 8dd121b5b7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Jan 5 16:15:00 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/curses/curses.c (free_window): use xfree instead of free.
[ruby-dev:37200]
Mon Jan 5 15:49:45 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast.

View file

@ -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