fill: fix mem leaks, add debugging checks
authorAndrew Chadwick <andrewc-git@piffle.org>
Sun, 20 Oct 2013 16:27:45 +0000 (17:27 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sun, 20 Oct 2013 16:30:47 +0000 (17:30 +0100)
commite6092eb3ac1c40eafbd535aeed72e28f62a2edd7
treeb4446f7a3270fa33dec9b2b0035d75fd9965dd10
parent6b0c1a076eef34c4ad04064ca40e231065ef246a
fill: fix mem leaks, add debugging checks

The fill routine was being way too lax about reference counts.
lib/fill.hpp