On 8/9/2022 7:41 AM, Victoria Dye wrote:
Shaoxuan Yuan wrote:*with_slash may be a malloc'd pointer, and when it is, free it.Super-nit: technically, `with_slash` (no `*`) is how you'd refer to the pointer. `*` is the dereference operator [1], so `*with_slash` has type `const char` and refers to the first character in the `with_slash` string. [1] https://en.wikipedia.org/wiki/Dereference_operator
Oh! Thanks, I was completely unaware. Will fix. -- Thanks, Shaoxuan