diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-12 06:27:15 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-12 06:27:15 +0000 |
| commit | 4aa31856a752dcf816f39652604dd4b8c259584a (patch) | |
| tree | f70ff5228f21a39538acd7d8d6b554c87f4c5d1a /ext/tk/lib | |
| parent | cbf356a8f321d7317e568a891e77099927452a74 (diff) | |
| download | ruby-4aa31856a752dcf816f39652604dd4b8c259584a.tar.gz ruby-4aa31856a752dcf816f39652604dd4b8c259584a.tar.xz ruby-4aa31856a752dcf816f39652604dd4b8c259584a.zip | |
* dir.c (glob_helper): prevent memory leak using rb_protect().
* string.c (rb_str_associate): no need to check freeze flag.
* string.c (rb_str_resize): should honor STR_ASSOC flag on
resize.
* string.c (rb_str_resize): proper STR_ASSOC handling. pointed
out by Michal Rokos.
* string.c (rb_str_buf_cat): ditto.
* string.c (rb_str_cat): ditto.
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_append): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
| -rw-r--r-- | ext/tk/lib/tk.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index bc9cb0676..736a12fd2 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -2841,6 +2841,7 @@ class TkWindow<TkObject end def destroy + super tk_call 'destroy', epath if @cmdtbl for id in @cmdtbl |
