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 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