summaryrefslogtreecommitdiffstats
path: root/lib/efl/evas.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-01 09:13:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-01 09:13:08 +0200
commitf95e9909e93dd1ddb9d19ccd36be34a3a84ddd44 (patch)
tree8a9db1f0f59e6e898db12deb6943a9c44aa8bf8a /lib/efl/evas.rb
parentbb7b6c52a50e65fb361ede8f26039b5822b9a0cb (diff)
downloadffi-efl-f95e9909e93dd1ddb9d19ccd36be34a3a84ddd44.zip
ffi-efl-f95e9909e93dd1ddb9d19ccd36be34a3a84ddd44.tar.gz
fix AutoPointer usage + use it for REinaHash
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r--lib/efl/evas.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb
index 56657d3..3713e6b 100644
--- a/lib/efl/evas.rb
+++ b/lib/efl/evas.rb
@@ -124,6 +124,7 @@ module Efl
def free p=nil
return Efl::Evas.evas_object_del p unless p.nil?
Efl::Evas.evas_object_del @ptr
+ @ptr.free
@ptr=nil
end
def geometry_get