No, it isn't (if format_ctx->pb->buffer is freed), I'll correct that comment.