From dc9d009af086a84b06ea1a834457d083a83d6e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 18 Aug 2011 10:24:54 +0200 Subject: don't use AutoPointer for child objects --- 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 abcc24e..91b872f 100644 --- a/lib/efl/evas.rb +++ b/lib/efl/evas.rb @@ -138,7 +138,7 @@ module Efl when FFI::Pointer a when Method - FFI::AutoPointer.new a.call(*args), REvasObject.method(:release) + a.call(*args) else raise ArgumentError.new "wrong argument #{a.class.name}" end -- cgit v1.1-2-g2b99