From be6a692686130aaed436812ac85eaf854e11c902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 6 May 2011 09:27:50 +0200 Subject: bugfix REvasObject#free --- lib/efl/evas.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1-2-g2b99