— It's valid syntax for initialization of array
— What I did wrong... miss
Maybe this?"* Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed."
— Ohk... sorry for my mistake...
— That is, however, not always true
— Well this is rather dangerous :D
— The content isn’t erased by calling free() though
— Yeah never do that
— And you can find errors like that by using valgrind/memory sanitizer
— You are entering the realm of undefined behaviour
— Yeah it’s called use-after-free
— Might be a security flaw irl