Skip to content

Commit

Permalink
nemo-view.c: Partially revert b4d0318
Browse files Browse the repository at this point in the history
This causes a segfault when a python extension keeps a reference to
the NemoWindow given in provider.get_file_items() to use in a callback
and the window is closed.

ref: #2686

This is not a fix, just a workaround for now to prevent a crash.
  • Loading branch information
mtwebster committed Mar 4, 2021
1 parent a2064c7 commit f026dd3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/nemo-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -5884,8 +5884,6 @@ add_extension_menu_items (NemoView *view,
g_free (subdir);
}
}

g_clear_object (&menu);
}
}

Expand Down

0 comments on commit f026dd3

Please sign in to comment.