Commit a53c584a authored by Jesse van den Kieboom's avatar Jesse van den Kieboom

Fix crash in checkupdate when no updates are found

parent 6f47f69e
...@@ -482,6 +482,12 @@ parse_page_file (SoupSession *session, ...@@ -482,6 +482,12 @@ parse_page_file (SoupSession *session,
gchar *ignore_version; gchar *ignore_version;
file = get_file (msg->response_body->data, FILE_REGEX); file = get_file (msg->response_body->data, FILE_REGEX);
if (!file)
{
return;
}
file_version = parse_file_version (file); file_version = parse_file_version (file);
ignore_version = get_ignore_version (plugin); ignore_version = get_ignore_version (plugin);
......
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