Commit 38a0f94f authored by Brendan Long's avatar Brendan Long

Revert "Removed null check prior to g_strcmp0() since this comparison method...

Revert "Removed null check prior to g_strcmp0() since this comparison method handles nulls gracefully."

This reverts commit 655f3d5f.
parent 496b2935
......@@ -1549,7 +1549,7 @@ dlna_src_uri_assign (GstDlnaSrc * dlna_src, const gchar * uri, GError ** error)
if (uri == NULL)
return FALSE;
if (g_strcmp0 (dlna_src->uri, uri) == 0)
if (dlna_src->uri && (g_strcmp0 (dlna_src->uri, uri) == 0))
return TRUE;
if (dlna_src->uri) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment