eglimage: Fix memory leak
authorJonas Larsson <ljonas@google.com>
Wed, 28 Aug 2019 18:24:01 +0000 (11:24 -0700)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 8 Sep 2019 18:19:49 +0000 (18:19 +0000)
commit238294992bb0443648c5c467925ab2e834119b74
treedfc30bc3fe9009f7b06f972947241ad14c6fad10
parent73deda8353d59378ad831d590cf87b5546fb9d7f
eglimage: Fix memory leak

Also free the GstEGLImage struct allocated by g_new0.

Fixes #661
gst-libs/gst/gl/egl/gsteglimage.c