forked from enlightenment/efl
Check for valid 'send' before trying to call
emotion_gstreamer_buffer_free (which will dereference it). NB: Fixes Coverity CID1039397 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
c58347b0a5
commit
1d9a19f1ee
|
@ -715,7 +715,7 @@ evas_video_sink_main_render(void *data)
|
||||||
ev->last_buffer = buffer;
|
ev->last_buffer = buffer;
|
||||||
|
|
||||||
exit_point:
|
exit_point:
|
||||||
emotion_gstreamer_buffer_free(send);
|
if (send) emotion_gstreamer_buffer_free(send);
|
||||||
|
|
||||||
exit_stream:
|
exit_stream:
|
||||||
if (priv)
|
if (priv)
|
||||||
|
|
Loading…
Reference in New Issue