gstreamer/tests/examples/ptp
Vineeth TM 215cfcf993 gstreamer: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

https://bugzilla.gnome.org/show_bug.cgi?id=753851
2015-10-02 17:31:11 +03:00
..
.gitignore ptp: Initial implementation of a PTP clock 2015-06-03 13:55:28 +02:00
Makefile.am ptp: Initial implementation of a PTP clock 2015-06-03 13:55:28 +02:00
ptp-print-times.c gstreamer: Fix memory leaks when context parse fails 2015-10-02 17:31:11 +03:00