Bastian Köcher
c7867e5125
Fix memory leak in runtime interface ( #4837 )
...
* Fix memory leak in runtime interface
We used `slice::from_raw_parts` in runtime-interface which did not free
the memory afterwards. This pr changes it to `Vec::from_raw_parts` to
make sure `drop` is called properly and the values are freed.
* Check that `len` is non-zero
* Adds comment
2020-02-06 14:26:41 +01:00
..
2020-01-29 11:57:13 +01:00
2020-01-31 11:46:05 +01:00
2020-02-05 17:26:48 +01:00
2020-02-03 20:19:33 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-02-04 16:56:50 +01:00
2020-02-05 17:26:07 +01:00
2020-02-04 16:56:50 +01:00
2020-01-29 11:57:13 +01:00
2020-01-16 13:58:37 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-02-04 16:56:50 +01:00
2020-02-05 17:26:48 +01:00
2020-01-30 11:40:08 +01:00
2020-01-24 15:20:45 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 13:27:23 +01:00
2020-01-29 11:57:13 +01:00
2020-01-31 19:01:32 +00:00
2020-02-06 14:26:41 +01:00
2020-02-05 17:26:48 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-10 10:48:32 +01:00
2020-01-29 11:57:13 +01:00
2020-02-04 16:56:50 +01:00
2020-02-05 17:26:48 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 11:57:13 +01:00
2020-01-17 15:47:21 +01:00
2020-01-29 11:57:13 +01:00
2020-01-29 16:24:40 +01:00