Jeroen Ketema
0c0720a962
C++: Improve use-after-free example code
...
* Remove the mismatch between `new` and `free` and use `delete` instead
* Make the function `void`, so people copying the code will not forget
to add a `return`.
* Balance out the `...` for omitted code.
2023-08-03 11:06:15 +02:00
..
2022-09-23 14:45:59 +02:00
2023-01-10 13:36:01 +01:00
2023-07-20 16:32:27 +00:00
2023-06-16 19:05:04 +02:00
2023-08-03 11:06:15 +02:00
2022-10-05 19:19:43 +01:00
2023-01-10 13:36:01 +01:00
2023-07-25 11:20:49 +02:00
2023-06-08 10:10:21 +02:00
2021-03-25 10:23:17 +01:00
2023-05-09 15:35:54 +02:00
2023-01-10 13:36:01 +01:00
2023-07-12 23:49:29 +02:00
2023-05-09 15:35:54 +02:00
2022-08-25 20:52:27 +02:00
2022-09-15 14:36:02 +01:00
2021-11-26 13:50:10 +01:00
2023-07-19 11:41:15 +02:00
2021-06-25 16:45:37 -07:00
2022-12-21 10:39:57 +01:00
2023-07-20 16:32:27 +00:00
2023-07-20 16:32:27 +00:00
2022-10-14 15:08:43 -04:00
2021-08-17 11:22:36 -07:00
2023-07-21 16:16:25 +00:00