rem: if (type_name && strcmp (type_name, "redirect") == 0) {
add: if (type_name == NULL) goto unhandled;  if (strcmp (type_name, "redirect") == 0) {
context: bvw_handle_element_message (BaconVideoWidget *bvw, GstMessage *msg){  const gchar *type_name = NULL;  gchar *src_name;  src_name = gst_object_get_name (msg->src);  if (msg->structure)    type_name = gst_structure_get_name (msg->structure);  GST_DEBUG ("Element message from element %s: %" GST_PTR_FORMAT, src_name,      msg->structure);  if (type_name && strcmp (type_name, "redirect") == 0) {    const gchar *new_location;    new_location = gst_structure_get_string (msg->structure, "new-location");    GST_DEBUG ("Got redirect to '%s'", GST_STR_NULL (new_location));    if (new_location && *new_location) {      g_signal_emit (bvw, bvw_signals[SIGNAL_REDIRECT], 0, new_location);      goto done;    }  }  g_message ("Unhandled element message '%s' from element '%s'",             GST_STR_NULL (type_name), src_name);done:  g_free (src_name);}