mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
katetiger: don't unref NULL buffer
This commit is contained in:
parent
05a710b3ad
commit
7ca4ba9491
1 changed files with 4 additions and 2 deletions
|
@ -403,8 +403,10 @@ gst_kate_tiger_dispose (GObject * object)
|
|||
tiger->default_font_desc = NULL;
|
||||
}
|
||||
|
||||
gst_buffer_unref (tiger->render_buffer);
|
||||
tiger->render_buffer = NULL;
|
||||
if (tiger->render_buffer) {
|
||||
gst_buffer_unref (tiger->render_buffer);
|
||||
tiger->render_buffer = NULL;
|
||||
}
|
||||
|
||||
g_cond_free (tiger->cond);
|
||||
tiger->cond = NULL;
|
||||
|
|
Loading…
Reference in a new issue