summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-06 09:27:50 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-06 09:27:50 +0200
commitbe6a692686130aaed436812ac85eaf854e11c902 (patch)
tree23e14842ed161d01f1b335ca0a168d088c2102fe
parente6eb6b7a151f71a2cb9fd53eba3fef22c788a621 (diff)
downloadffi-efl-be6a692686130aaed436812ac85eaf854e11c902.zip
ffi-efl-be6a692686130aaed436812ac85eaf854e11c902.tar.gz
bugfix REvasObject#free
-rw-r--r--lib/efl/evas.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb
index ff0f3bc..258efa6 100644
--- a/lib/efl/evas.rb
+++ b/lib/efl/evas.rb
@@ -144,7 +144,7 @@ module Efl
Native.evas_object_del p unless p.nil?
end
def free
- @ptr.autopointer=false if @ptr.is_a? FFI::AutoPointer
+ @ptr.autorelease=false if @ptr.is_a? FFI::AutoPointer
REvasObject.release @ptr
@ptr=nil
end