]> 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 11:15:09 +0000 (15:15 +0400)
commitbb398c13cfbdb199ee18e333898c8cbe82cbb613
tree601031db14376961324316cad907422ffeb3a89c
parent01ecb1a0fac4165bac2c18179cb53c4f7f9c67fd
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