gtk: Mark g_thread_join as a dealloc for g_thread_new (#3188)

g_thread_join() consumes the reference to the passed-in thread .
This will usually cause the GThread struct and associated resources to be freed.
This commit is contained in:
Marco Trevisan 2021-03-31 18:15:25 +02:00 committed by GitHub
parent 5077663684
commit 4a286dfade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@
<alloc init="true">g_thread_try_new</alloc> <alloc init="true">g_thread_try_new</alloc>
<use>g_thread_ref</use> <use>g_thread_ref</use>
<dealloc>g_thread_unref</dealloc> <dealloc>g_thread_unref</dealloc>
<dealloc>g_thread_join</dealloc>
</memory> </memory>
<memory> <memory>
<alloc init="true">g_variant_iter_copy</alloc> <alloc init="true">g_variant_iter_copy</alloc>