Skip to content

google: Fix erroneous unreffing of resolved entry in out label

Mayank Sharma requested to merge mayanksha/gvfs:fix-delete-operation into master

Currently in delete operation, if the entry gets resolved but parent resolution fails, the jump to out label (while handling error) will cause the existing entry's ref_count to decrease by 1 (since out label calls g_object_unref on entry).

We fix the issue by removing g_object_unref from out label and suitably unreffing the entry.

Merge request reports