Commit 1914ba3a authored by Geyslan's avatar Geyslan

Check pointer before strcmp() call

Due an unchecked pointer, a strcmp() call was crashing with a malformed URI.
Signed-off-by: Geyslan's avatarGeyslan <>
parent 6c45f9e7
......@@ -714,6 +714,8 @@ nautilus_disc_burn_get_background_items (NautilusMenuProvider *provider,
items = NULL;
scheme = nautilus_file_info_get_uri_scheme (current_folder);
if (!scheme)
return NULL;
if (strcmp (scheme, "burn") == 0) {
NautilusMenuItem *item;
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