Jim Warner e70531a945 library: protect against possible 'refcount' underflow
In each module employing a priming read at 'new' time,
should that read fail, a call to 'unref' will be made.

However, there is a hidden dependency that these calls
must never occur before the context 'refcount' was set
due to the way an 'unref' conditional was constructed.

So this commit just ensures that 'unref' will function
as expected, even if called with a 'refcount' of zero.

Signed-off-by: Jim Warner <james.warner@comcast.net>
2016-12-07 22:06:59 +11:00
..
2016-04-19 21:33:02 +10:00
2016-04-16 17:03:57 +10:00
2016-04-16 17:03:57 +10:00
2016-04-17 14:45:19 +10:00
2016-04-16 17:03:57 +10:00
2016-05-01 17:46:25 +10:00
2016-04-16 17:03:57 +10:00