Commit 4edd6311 authored by Philip Carns's avatar Philip Carns

ref count bug fix

parent a0e91c54
......@@ -51,7 +51,10 @@ static int hg_instance_init(const char *mercury_dest)
{
/* have we already started a Mercury instance? */
if(g_hginst.refct > 0)
{
g_hginst.refct++;
return(0);
}
/* boilerplate HG initialization steps */
/***************************************/
......
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