diff options
author | fiaxh <git@mx.ax.lt> | 2017-11-22 21:09:39 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-11-23 01:28:29 +0100 |
commit | 64774241e587eab64b10a0c35dd455f6a2288a55 (patch) | |
tree | e019252bce51a684dc1c97c97d897a193715d360 /main/src/ui/occupant_menu | |
parent | 9165c4db278b2d3da636d53e89c3b80cff66977f (diff) | |
download | dino-64774241e587eab64b10a0c35dd455f6a2288a55.tar.gz dino-64774241e587eab64b10a0c35dd455f6a2288a55.zip |
Fix memory leak
Diffstat (limited to 'main/src/ui/occupant_menu')
-rw-r--r-- | main/src/ui/occupant_menu/view.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/occupant_menu/view.vala b/main/src/ui/occupant_menu/view.vala index fb63a06a..a76f370a 100644 --- a/main/src/ui/occupant_menu/view.vala +++ b/main/src/ui/occupant_menu/view.vala @@ -94,7 +94,7 @@ public class View : Popover { kick_button.clicked.connect(kick_button_clicked); } - if (jid_menu != null) stack.remove(jid_menu); + if (jid_menu != null) jid_menu.destroy(); stack.add_named(outer_box, "menu"); stack.visible_child_name = "menu"; jid_menu = outer_box; |