Re: ListStoreModel clear() seems to be corrupted nearby memory
- From: Murray Cumming <murrayc murrayc com>
- To: Josh Sinykin <jsinykin gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: ListStoreModel clear() seems to be corrupted nearby memory
- Date: Wed, 19 Dec 2007 19:45:59 +0100
On Wed, 2007-12-19 at 10:07 -0700, Josh Sinykin wrote:
> I am experiencing a weird memory situation related to the clearing of
> a ListStore Model.
You are probably calling liststore.clear(), instead of
liststore->clear(), so you are clearing the RefPtr.
It's a common (and understandable) mistake. We have already deprecated
and replaced RefPtr::clear() but we can't remove it from the API.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]