forked from LaurentMazare/tch-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly free IValue::tuple elements (issue LaurentMazare#123). (Laur…
…entMazare#124) * Properly free IValue::tuple elements. The 'ati_deep_free' function is removed as it causes heap corruption. The IValue::to_c function has been modified to avoid the memory leaks that the 'ati_deep_free' function tried to solve. * Coding style (else cargo fmt fails).
- Loading branch information
1 parent
fa6cef3
commit bd9da2d
Showing
4 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters