Heating with wood means heating CO²-neutrally.
When you burn wood in your stove, you release exactly as much CO² as the tree would release if it rotted in the woods.
And this precise quantity of CO², which the tree releases when it is burned or rots, is precisely the amount it absorbed during its growth.