Let's say I do this:
void doSomething ()
{
char *value = malloc (sizeof (char) * 10);
strcpy (value, "HELLO");
IupSetAttribute (textWidget, IUP_VALUE, value);
}
So, I call doSomething() somewhere in my code. Later, I call it again.
Does Iup free the memory before setting the attribute again?
Jeremy