Got rid of NULL checks prior to calling g_free() since g_free(NULL) is v...

...alid.  This was requested in code review by GStreamer developer.