h264parse: remove useless NULL setting in gst_h264_nal_parser_free

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8082>
This commit is contained in:
Aaron Boxer 2024-12-05 06:39:06 -05:00
parent acc1309cdf
commit 95151af803

View file

@ -1435,7 +1435,7 @@ gst_h264_nal_parser_new (void)
* gst_h264_nal_parser_free:
* @nalparser: the #GstH264NalParser to free
*
* Frees @nalparser and sets it to %NULL
* Frees @nalparser
*/
void
gst_h264_nal_parser_free (GstH264NalParser * nalparser)
@ -1447,8 +1447,6 @@ gst_h264_nal_parser_free (GstH264NalParser * nalparser)
for (i = 0; i < GST_H264_MAX_PPS_COUNT; i++)
gst_h264_pps_clear (&nalparser->pps[i]);
g_free (nalparser);
nalparser = NULL;
}
/**