Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/sugar/graphics/icon.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sugar/graphics/icon.py')
-rw-r--r--lib/sugar/graphics/icon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sugar/graphics/icon.py b/lib/sugar/graphics/icon.py
index cbff3f9..f215081 100644
--- a/lib/sugar/graphics/icon.py
+++ b/lib/sugar/graphics/icon.py
@@ -130,6 +130,8 @@ class _IconBuffer(object):
icon_info.file_name = info.get_filename()
icon_info.attach_x = attach_x
icon_info.attach_y = attach_y
+
+ del info
else:
logging.warning('No icon with the name %s '
'was found in the theme.' % self.icon_name)