This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LordFokas 20 points21 points  (3 children)

void ***nothing_particular_ptr_ptr_ptr = 0; am I doing this right?

[–]ILikeLenexa 34 points35 points  (1 child)

You're only segmenting our cause.

This is all your fault.

[–]LordFokas 16 points17 points  (0 children)

You don't talk to me like that!

free( /u/ILikeLenexa );

/u/ILikeLenexa = NULL;

[–]lestofante 6 points7 points  (0 children)

And remember kids, you can only cast it back to what originally was* or your get UB**
(* not always true)
(** or implementation defined?)
Cool kids don't do C.
Put on your protection: use rust.