зеркало из https://github.com/github/ruby.git
* 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:
Родитель
38c5409667
Коммит
8dd121b5b7
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче