
27 Sep
2011
27 Sep
'11
1:59 p.m.
On Tue, Sep 27, 2011 at 11:56 AM, Daniel P. Berrange <berrange@redhat.com> wrote:
Since the return value is annotated '(transfer full)' you need todo 'g_object_ref(domain)' before putting it into the hash table, since the hash needs to keep hold of a reference. Also you want to have a g_mutex_lock/unlock either side of use of the hash table.
K, ACK otherwise? -- Regards, Zeeshan Ali (Khattak) FSF member#5124