Re: [gtk-list] Re: ...yaq... (yet another question) :-)

   > void destroy_filter_entry(GtkWidget *widget, gpointer *data){
   >   Filter* filter = (Filter*) data;
   >   delete filter;
   > }

I'll take a guess that somehow, somewhere the object that contains the
original pointer to data is being deleted, and that its destructor is
deleting the original pointer (if you're using the default destructor,
that will be the case).  As a result, it's being double-freed.  Gdb
doesn't show anything interesting?
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]