]> granicus.if.org Git - gc/commit
Fix pthread_attr_t resource leak in pthread_create
authorIvan Maidanski <ivmai@mail.ru>
Wed, 24 Oct 2012 03:18:03 +0000 (07:18 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 24 Oct 2012 08:18:51 +0000 (12:18 +0400)
commita12267ea336cd7f14e725b1162dad4ec47c278ab
tree4ff60f82d10a2ca43175335503e18b4b07b27c8b
parente03d9ecba5eec971170690e2065332decfd1d4b5
Fix pthread_attr_t resource leak in pthread_create

* pthread_support.c (pthread_create): Cleanup my_attr resource by
calling pthread_attr_destroy (only if GC_ASSERTIONS).
pthread_support.c