Comment

Comment by bru

About the patch at https://github.com/vmg/redcarpet/pull/516/files, couldn't the update simply have been the following?

    -	return Data_Wrap_Struct(klass, rb_redcarpet_rbase_mark, NULL, rndr);
    +	return Data_Wrap_Struct(klass, rb_redcarpet_rbase_mark, xfree, rndr);
parent bru 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton