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
label calls g_object_unref on entry).
We fix the issue by removing g_object_unref from
out label and
suitably unreffing the entry.