winegstreamer: Avoid leaking a newly allocated buffer on failure in request_buffer_src().
commit025b3de29c63e5a05f66bd5354d7e90c2ccad417
authorZebediah Figura <z.figura12@gmail.com>
Fri, 25 Sep 2020 03:22:55 +0000 (24 22:22 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 25 Sep 2020 08:48:40 +0000 (25 10:48 +0200)
treef6f0895e5aa9368ab368b93288137dbfcf4f90a7
parent622f2ce9915f1089f8e4550d6dbcfb6fb25289a6
winegstreamer: Avoid leaking a newly allocated buffer on failure in request_buffer_src().

According to the GStreamer documentation, the contents of "buffer" should be
considered undefined on failure, which means that the caller has no way of
freeing a newly allocated buffer.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winegstreamer/gstdemux.c