Skip to content

Commit

Permalink
Avoid leaking malloced strings
Browse files Browse the repository at this point in the history
Fixes #28
  • Loading branch information
kornelski committed Jul 18, 2018
1 parent 0a757b1 commit 37a7bcc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ impl Info {
lodepng_free(self.text_keys as *mut _);
lodepng_free(self.text_strings as *mut _);
self.text_num = 0;
self.itext_num = 0;
}
}

Expand Down

0 comments on commit 37a7bcc

Please sign in to comment.