GNOME Bugzilla – Bug 702793
query hash_table always gets destroyed instead of unref'd
Last modified: 2013-06-28 12:39:07 UTC
Created attachment 247408 [details] [review] Patch v1 I tried to use the query in a subthrea and jsut called g_hash_table_ref/unref to do so, but all I got was a SIGFPE due to the fact (depends on the scheduler) the query object being used was destroyed in the meantime. Also creating a copy is suboptimal, just a waste of cycles. Minor patch attached to replace the _destroy by _unref. Patch is based ontop of commit 38c79e2389855828a6505b635fec688ef1f30116
sure, makes sense. committed to master.