mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread_pthread.c (rb_thread_create_timer_thread): fix memory
leak. [ruby-dev:44904] [Bug #5688] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
07e447fb74
commit
8e9ab33988
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 14 01:24:55 2011 okkez <okkez000@gmail.com>
|
||||
|
||||
* thread_pthread.c (rb_thread_create_timer_thread): fix memory
|
||||
leak. [ruby-dev:44904] [Bug #5688]
|
||||
|
||||
Wed Dec 14 00:01:15 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (primary): point method name line. [ruby-core:40936]
|
||||
|
|
|
@ -1243,6 +1243,7 @@ rb_thread_create_timer_thread(void)
|
|||
fprintf(stderr, "[FATAL] Failed to create timer thread (errno: %d)\n", err);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
pthread_attr_destroy(&attr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue