url head: handle links that are notimages/movies

This commit is contained in:
Boris Faure 2015-02-23 20:17:48 +01:00
parent be30c069f3
commit 141cfd959d
1 changed files with 2 additions and 0 deletions

View File

@ -1679,6 +1679,8 @@ _media_http_head_complete(void *data, int kind EINA_UNUSED, void *event_info)
#undef _CONTENT_TYPE_HDR
#undef _LOCATION_HDR
}
if (type == MEDIA_TYPE_UNKNOWN)
goto error;
_ty_http_head_delete(ty_head);
return EINA_TRUE;