On Tue, Sep 27, 2011 at 11:56 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list