summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-12-23 11:16:06 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-12-23 11:16:06 +0100
commita38f18e1c4d42688024c203a47a1f555c829e0b5 (patch)
tree18b1f680767e531a2c36c554aff2d8f9541b941b /spec
parent5e1f4145b35fc7a367fd773e78178dc802585716 (diff)
downloadffi-efl-a38f18e1c4d42688024c203a47a1f555c829e0b5.zip
ffi-efl-a38f18e1c4d42688024c203a47a1f555c829e0b5.tar.gz
fix segfault in ecore_spec
Diffstat (limited to 'spec')
-rw-r--r--spec/ecore_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
index 9d8010a..bccd1f9 100644
--- a/spec/ecore_spec.rb
+++ b/spec/ecore_spec.rb
@@ -144,6 +144,7 @@ describe "Efl::Ecore #{Efl::Ecore.version.full}" do
Ecore.main_loop_iterate
pipe.read_close
pipe.write_close
+ pipe.del # without this, pipe is freed by autopointer, but after Ecore.shutdown then SIGSEV
end
it "manual destructor should not raise FFI::AutoPointer error" do
data = FFI::MemoryPointer.from_string("none")