Stenway / RSV-Challenge

RSV = Rows of String Values
https://www.stenway.com
Other
90 stars 15 forks source link

There is a little problem with the C implementation #23

Open arjitGeo opened 6 months ago

arjitGeo commented 6 months ago

In the createBytes and createString functions, after this line result->buffer = malloc(result->length); you're checking if the result is null, instead of checking if result->buffer is null.

Also in the deleteBytes function, there's no point in zeroing out the bytes->buffer and bytes->length values as the bytes itself is freed.

I knew about the RSV format after watching your video, and I think it's pretty cool. I'll try to use it where ever possible.