-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
It seems a GWindow can't currently be freed:
There does seem to be a generic
removefunction, defined inStanfordCSLib/src/generic.c, right after the genericaddfunction. However, it looks to me like the handling ofGWindowby remove is buggy. The relevant branch of remove reads:
if (endsWith(type, "GWindow")) {
va_start(args, arg);
gobj = va_arg(args, GObject);
va_end(args);
removeGWindow((GWindow) arg, key);
}At this point in the code,
keyis uninitialized. I believe the intent was to passgobjtoremoveGWindow, notkey.
Metadata
Metadata
Assignees
Labels
No labels