There is a better way of fixing a few of these leaks. I see in GtkAction things like gtk_action_get_label or gtk_action_get_short_label, available since 2.16. If GTK version >=2.16 could be made a requirement, some code could be cleaned-up. See the attached patch, that fixes the memory leak for ege-adjustment-action.cpp and simplifies the code with the functions mentioned above.
There is a better way of fixing a few of these leaks. I see in GtkAction things like gtk_action_ get_label or gtk_action_ get_short_ label, available since 2.16. If GTK version >=2.16 could be made a requirement, some code could be cleaned-up. See the attached patch, that fixes the memory leak for ege-adjustment- action. cpp and simplifies the code with the functions mentioned above.