Martin Owens-2 wrote
On Thu, 2013-04-25 at 00:29 -0700, insaner wrote:
potential of having created a memory leak with that.
I can only see that a GtkWindow is being created but not freed. Everything else looks sensible to me. CPP veterans would do a better scan though :-)
hi martin owens, thanks for the reply. i dont however see where the gtkwindow is being created.
my concern is with the creating of the pointer: prev_event_context = event_context;
as i'm not sure if/when each event_context gets free'd. if it ever does (a grep couldnt fint it) it might cause a segfault. since i never saw a free(event_context) i figured i didnt have to free() prev_event_context in any way.
thanks for any insight.
thanks also to mathog for your reply.
-- View this message in context: http://inkscape.13.x6.nabble.com/question-about-memory-leaks-tp4966734p49667... Sent from the Inkscape - Dev mailing list archive at Nabble.com.