diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-05-12 13:45:36 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-05-12 13:45:36 -0700 |
commit | 223507f36f6dd4c0d4a0733a524fd529231b010b (patch) | |
tree | d8e5de1732e9651299a27c9300e464221066ec65 /sleekxmpp/stanza/error.py | |
parent | 8515cef11734613267b1b31f543bca620beac864 (diff) | |
download | slixmpp-223507f36f6dd4c0d4a0733a524fd529231b010b.tar.gz slixmpp-223507f36f6dd4c0d4a0733a524fd529231b010b.tar.bz2 slixmpp-223507f36f6dd4c0d4a0733a524fd529231b010b.tar.xz slixmpp-223507f36f6dd4c0d4a0733a524fd529231b010b.zip |
fixed a rather large memory leak
Diffstat (limited to 'sleekxmpp/stanza/error.py')
-rw-r--r-- | sleekxmpp/stanza/error.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/error.py b/sleekxmpp/stanza/error.py index a1454d1e..15af6624 100644 --- a/sleekxmpp/stanza/error.py +++ b/sleekxmpp/stanza/error.py @@ -22,7 +22,7 @@ class Error(ElementBase): self['type'] = 'cancel' self['condition'] = 'feature-not-implemented' if self.parent is not None: - self.parent['type'] = 'error' + self.parent()['type'] = 'error' def getCondition(self): for child in self.xml.getchildren(): |