On Wed, Jul 17, 2019 at 02:24:50PM +0200, Fabiano Fidêncio wrote:
> When calling a g_task_return_error(), we should also cleanup the
> CreateFromLocationAsyncData and return immediately after that.
> 
> By doing so we avoid errors as:
> g_task_return_error: assertion 'task->ever_returned' failed.
> 
> Signed-off-by: Fabiano Fidêncio <fiden...@redhat.com>
> ---
>  osinfo/osinfo_tree.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

_______________________________________________
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to