Commit de4686d5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add an ugly workaround for a bug that causes coredumps in processes which

dlclose() objects compiled with gcov support.  (Search "atexit dlclose" for
details).



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5188 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b4f3481f
......@@ -122,7 +122,9 @@ VRT_Vmod_Fini(void **hdl)
*hdl = NULL;
if (--v->ref != 0)
return;
#ifndef DONT_DLCLOSE_VMODS
dlclose(v->hdl);
#endif
free(v->nm);
free(v->path);
VTAILQ_REMOVE(&vmods, v, list);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment