base-xml-formatter: properly handle GFile from wrong uri
authorJustin Kim <justin.kim@collabora.com>
Thu, 1 Oct 2015 14:06:33 +0000 (16:06 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 1 Oct 2015 14:06:33 +0000 (16:06 +0200)
commit2b4e89c75ea128cb4ad9589943e0effc5c738ff6
tree75d8639d206edb5637e613e5adfb0e6f738f0c7f
parent61da5ad63c1c9063046efd887f5078baf3bfe9c5
base-xml-formatter: properly handle GFile from wrong uri

Summary:
g_file_new_for_uri never fails so GFile always has valid pointer.
And fix a bug of double unref from D303.

Reviewers: thiblahute

Differential Revision: https://phabricator.freedesktop.org/D310
ges/ges-base-xml-formatter.c