Skip to content

Commit

Permalink
Avoid freeing output buffer befor initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
m-herrera committed Feb 3, 2022
1 parent d26c4ae commit fc1f763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gst-libs/gst/tiovx/gsttiovxmiso.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,9 @@ gst_tiovx_miso_aggregate (GstAggregator * agg, gboolean timeout)
return GST_FLOW_OK;

exit:
gst_buffer_unref (outbuf);
if (NULL != outbuf) {
gst_buffer_unref (outbuf);
}
return ret;
}

Expand Down

0 comments on commit fc1f763

Please sign in to comment.