Re: [Spice-devel] [PATCH spice-server 1/2] test-stream-device: Remove interface before next loop

2019-03-19 Thread Christophe Fergeau
On Tue, Mar 19, 2019 at 01:01:54PM +, Frediano Ziglio wrote: > We should not reuse the same interface twice as doing so will > cause dandling pointers. 'dangling' Acked-by: Christophe Fergeau > Unregister it at every iteration. > > Signed-off-by: Frediano Ziglio > --- >

[Spice-devel] [PATCH spice-server 1/2] test-stream-device: Remove interface before next loop

2019-03-19 Thread Frediano Ziglio
We should not reuse the same interface twice as doing so will cause dandling pointers. Unregister it at every iteration. Signed-off-by: Frediano Ziglio --- server/tests/test-stream-device.c | 1 + 1 file changed, 1 insertion(+) This avoids next patch to cause failure during tests. diff --git