From 55756ca33d18224af413c13f26787f8b6ccaf08d Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Sat, 30 Apr 2016 12:29:24 -0700 Subject: [PATCH] pixman: fix test Missing return statement would cause sporadic failure. (#728) --- Formula/pixman.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/pixman.rb b/Formula/pixman.rb index a3dd83a27cbd9..7c533bfba2930 100644 --- a/Formula/pixman.rb +++ b/Formula/pixman.rb @@ -45,8 +45,8 @@ def install { pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff }; pixman_image_t *image = pixman_image_create_solid_fill(&white); - pixman_image_unref(image); + return 0; } EOS flags = (ENV.cflags || "").split + (ENV.cppflags || "").split + (ENV.ldflags || "").split