You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your example at line 4, the pointer from line 2 became unreachable., since message is now pointing at the string literal "update". The memory allocated at line 2 will be freed automatically.
If you're really concerned about memory leaks, you can run tgc_free() on the original pointer.
e.g
The text was updated successfully, but these errors were encountered: