Revert "winegstreamer: Remove redundant null check before g_error_free.".
commit5c54963482bcd701c825b7936056a49b113410e5
authorAlex Henrie <alexhenrie24@gmail.com>
Tue, 29 Nov 2016 05:35:53 +0000 (28 22:35 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 30 Nov 2016 22:18:51 +0000 (30 23:18 +0100)
tree695eac764cb20b6fdda6fcd97e23b1b14318f048
parent424c86ad29cb66f28f7e5f03b764de710affbf49
Revert "winegstreamer: Remove redundant null check before g_error_free.".

This reverts commit 976ccb92ea745d8a79a2d0a25d37268bb4dc62a6.

This is what I get for not reading the documentation...if you call
g_error_free(NULL), it prints a nasty error message, which I am now
getting frequently.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winegstreamer/gstdemux.c