codecparsers: vp9: minor clean-up
authorTim-Philipp Müller <tim@centricular.com>
Wed, 30 Dec 2015 13:16:40 +0000 (13:16 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 30 Dec 2015 13:17:24 +0000 (13:17 +0000)
Remove setting of parser variable to NULL after free,
that makes no sense (and coverity is no doubt going
to complain about it).

gst-libs/gst/codecparsers/gstvp9parser.c

index a324a86..e518dee 100644 (file)
@@ -644,7 +644,7 @@ gst_vp9_parser_new (void)
  * gst_vp9_parser_free:
  * @parser: the #GstVp9Parser to free
  *
- * Frees @parser and sets it to %NULL
+ * Frees @parser.
  *
  * Since: 1.8
  */
@@ -657,7 +657,6 @@ gst_vp9_parser_free (GstVp9Parser * parser)
       parser->priv = NULL;
     }
     g_slice_free (GstVp9Parser, parser);
-    parser = NULL;
   }
 }