$OpenBSD: patch-aczsh_m4,v 1.2 2008/11/04 10:00:59 pea Exp $
--- aczsh.m4.orig	Mon Jun  2 13:15:30 2008
+++ aczsh.m4	Mon Nov  3 22:44:34 2008
@@ -167,6 +167,8 @@ main()
     sym1 = zsh_getaddr1();
     if(!sym1) exit(1);
     if(sym1 != sym2) exit(1);
+    dlclose(handle1);
+    dlclose(handle2);
     exit(0);
 }
 ], [zsh_cv_shared_$1=yes],
