Re: [Spice-devel] [PATCH spice-gtk] Fix use after free of uri

2015-11-17 Thread Jonathon Jongsma
ACK On Tue, 2015-11-17 at 18:55 +0100, Marc-André Lureau wrote: > "path" points to "uri" memory, move free(uri) later. > > Found thanks to valgrind :) > > Signed-off-by: Marc-André Lureau > --- > src/spice-session.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/

[Spice-devel] [PATCH spice-gtk] Fix use after free of uri

2015-11-17 Thread Marc-André Lureau
"path" points to "uri" memory, move free(uri) later. Found thanks to valgrind :) Signed-off-by: Marc-André Lureau --- src/spice-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spice-session.c b/src/spice-session.c index c673fa2..a36dcea 100644 --- a/src/spice-s