diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-09-08 12:27:38 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-09-08 17:32:00 -0400 |
commit | 7d6978304282d8be36daff43d0b4d3c3432aed13 (patch) | |
tree | ec3feeab5adb5098d8adcb2a5d9f3a3a6682515d /virtManager/xmleditor.py | |
parent | d073ee9a4821046de7df977571995300be827310 (diff) | |
download | virt-manager-7d6978304282d8be36daff43d0b4d3c3432aed13.tar.gz |
virtManager: misc reference leak fixes
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtManager/xmleditor.py')
-rw-r--r-- | virtManager/xmleditor.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/virtManager/xmleditor.py b/virtManager/xmleditor.py index bea8dfc6..40d4c424 100644 --- a/virtManager/xmleditor.py +++ b/virtManager/xmleditor.py @@ -40,7 +40,7 @@ class vmmXMLEditor(vmmGObjectUI): self._curpage = _PAGE_DETAILS self._srcxml = "" self._srcview = None - self._srcbuf = None + self._srcbuff = None self._init_ui() self.details_changed = False @@ -51,7 +51,8 @@ class vmmXMLEditor(vmmGObjectUI): def _cleanup(self): - pass + self._srcview.destroy() + self._srcbuff = None ########### |