summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-17 16:59:27 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-17 16:59:27 +0200
commit8ceeda9e767e3be64bcc2b41cc89e1cee3411e82 (patch)
tree6691bef276203659f082988db2e5c15fa5967aae
parentd81ff944740c1e4bc8ee582542e7f4fa352baff4 (diff)
downloadffi-efl-8ceeda9e767e3be64bcc2b41cc89e1cee3411e82.zip
ffi-efl-8ceeda9e767e3be64bcc2b41cc89e1cee3411e82.tar.gz
do not protect REcoreEvas.release(nil)
-rw-r--r--lib/efl/ecore_evas.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/ecore_evas.rb b/lib/efl/ecore_evas.rb
index 788fac9..09ff03c 100644
--- a/lib/efl/ecore_evas.rb
+++ b/lib/efl/ecore_evas.rb
@@ -33,7 +33,7 @@ module Efl
yield self if block_given?
end
def self.release p
- Native.ecore_evas_free p unless p.nil?
+ Native.ecore_evas_free p
end
def free p=nil
@ptr.autorelease=false