Fix use after free of uri
Fix use after free of uri

"path" points to "uri" memory, move free(uri) later.

Found thanks to valgrind :)

Signed-off-by: Marc-André Lureau <a6f2b960a4aca61381fc650a67901b2ac8e83e6d@gmail.com>

fgouget/spice-gtk,SPICE/spice-gtk,flexVDI/spice-gtk,SPICE/spice-gtk,fgouget/spice-gtk,SPICE/spice-gtk,SPICE/spice-gtk,flexVDI/spice-gtk,fgouget/spice-gtk