[master] 089a335 Assert that dlclose()'ing the vmod succeeds.
Poul-Henning Kamp
phk at varnish-cache.org
Thu Feb 17 22:07:13 CET 2011
commit 089a3352731d14be2cd902f451ceb99a3e33fe1d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Feb 17 21:05:59 2011 +0000
Assert that dlclose()'ing the vmod succeeds.
diff --git a/bin/varnishd/cache_vrt_vmod.c b/bin/varnishd/cache_vrt_vmod.c
index 54cf59a..8b1ed3e 100644
--- a/bin/varnishd/cache_vrt_vmod.c
+++ b/bin/varnishd/cache_vrt_vmod.c
@@ -123,7 +123,7 @@ VRT_Vmod_Fini(void **hdl)
if (--v->ref != 0)
return;
#ifndef DONT_DLCLOSE_VMODS
- dlclose(v->hdl);
+ AZ(dlclose(v->hdl));
#endif
free(v->nm);
free(v->path);
More information about the varnish-commit
mailing list