mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/tcltklib.c (ip_set_exc_message): fixed memory leak.
* ext/tk/tcltklib.c: eTkCallbackReturn was not initialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dbbfbc5a21
commit
a747366102
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Apr 22 16:55:35 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* ext/tk/tcltklib.c (ip_set_exc_message): fixed memory leak.
|
||||
|
||||
* ext/tk/tcltklib.c: eTkCallbackReturn was not initialized.
|
||||
|
||||
Thu Apr 21 06:45:28 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (ruby_incpush_expand, proc_options): expand relative path
|
||||
|
|
|
@ -1903,6 +1903,7 @@ ip_set_exc_message(interp, exc)
|
|||
|
||||
Tcl_AppendResult(interp, Tcl_DStringValue(&dstr), (char*)NULL);
|
||||
DUMP2("error message:%s", Tcl_DStringValue(&dstr));
|
||||
Tcl_DStringFree(&dstr);
|
||||
free(buf);
|
||||
|
||||
#else /* TCL_VERSION <= 8.0 */
|
||||
|
@ -8383,7 +8384,7 @@ Init_tcltklib()
|
|||
|
||||
/* --------------------------------------------------------------- */
|
||||
|
||||
eTkCallbackBreak = rb_define_class("TkCallbackReturn", rb_eStandardError);
|
||||
eTkCallbackReturn = rb_define_class("TkCallbackReturn", rb_eStandardError);
|
||||
eTkCallbackBreak = rb_define_class("TkCallbackBreak", rb_eStandardError);
|
||||
eTkCallbackContinue = rb_define_class("TkCallbackContinue",
|
||||
rb_eStandardError);
|
||||
|
|
Loading…
Reference in a new issue