Skip to content

Don't free FileBuilder in serialize function

Michael Catanzaro requested to merge mcatanzaro/fb-free into master

It's confused both myself and Jan-Michael, when reviewing my changes to this code. It's weird for the serialize function to take ownership of the passed FileBuilder. Don't do that.

We can also add a convenience free function.

CC: @jbrummer

Merge request reports