summaryrefslogtreecommitdiffstats
path: root/lib/efl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl')
-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