summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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