diff options
Diffstat (limited to 'tests/examples/ptp/ptp-print-times.c')
-rw-r--r-- | tests/examples/ptp/ptp-print-times.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/examples/ptp/ptp-print-times.c b/tests/examples/ptp/ptp-print-times.c index e6c666fdc..b7de82a96 100644 --- a/tests/examples/ptp/ptp-print-times.c +++ b/tests/examples/ptp/ptp-print-times.c @@ -70,6 +70,7 @@ main (gint argc, gchar ** argv) g_option_context_add_group (opt_ctx, gst_init_get_option_group ()); if (!g_option_context_parse (opt_ctx, &argc, &argv, &err)) g_error ("Error parsing options: %s", err->message); + g_clear_error (&err); g_option_context_free (opt_ctx); if (!gst_ptp_init (GST_PTP_CLOCK_ID_NONE, NULL)) |