servo / rust-stb-image

Rust bindings to the awesome stb_image library
Other
70 stars 34 forks source link

Use stbi_free instead of libc::free #76

Closed johshoff closed 9 years ago

johshoff commented 9 years ago

The current code is correct, but using the free function provided by stb_image makes it more obvious that it's using the same allocator to allocate and free memory.

Ms2ger commented 9 years ago

@bors-servo r+

bors-servo commented 9 years ago

:pushpin: Commit d51f302 has been approved by Ms2ger

bors-servo commented 9 years ago

:hourglass: Testing commit d51f302 with merge 2235148...

bors-servo commented 9 years ago

:sunny: Test successful - travis